Ticket #5182 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

spec001 now wants StandaloneDeriving

Reported by: daniel.is.fischer Owned by:
Priority: normal Milestone:
Component: Test Suite Version: 7.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

spec001 fails on HEAD with

Compile failed (status 256) errors were:

spec001.hs:140:1:
    Illegal standalone deriving declaration
      Use -XStandaloneDeriving to enable this extension

*** unexpected failure for spec001(normal)

due to changes in Typeable.h. (Also needs DeriveDataTypeable?).

Patch attached.

Attachments

fixspec001.patch Download (0.5 KB) - added by daniel.is.fischer 2 years ago.

Change History

Changed 2 years ago by daniel.is.fischer

Changed 2 years ago by igloo

  • status changed from new to patch

Changed 2 years ago by daniel.is.fischer

StandaloneDeriving isn't enough, DeriveDataTypeable is also necessary:

spec001.hs:140:1:
    Can't make a derived instance of `Typeable PackedString':
      You need -XDeriveDataTypeable to derive an instance for this class
    In the stand-alone deriving instance for `Typeable PackedString'

*** unexpected failure for spec001(normal)

Changed 2 years ago by simonpj

  • status changed from patch to closed
  • resolution set to fixed

Ah yes, I was in too much of a hurry last night. Fixed, thanks.

Note: See TracTickets for help on using tickets.