Opened 5 years ago

Closed 5 years ago

#7581 closed bug (duplicate)

ghc crashed on trying compiling a file generated by Alex

Reported by: guest Owned by:
Priority: normal Milestone:
Component: Compiler Version: 7.4.2
Keywords: Cc:
Operating System: Windows Architecture: Unknown/Multiple
Type of failure: Compile-time crash Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


C:\Documents and Settings\bcyrille\My Documents\Hskl>ghc M90.hs [1 of 1] Compiling Main ( M90.hs, M90.o ) ghc: panic! (the 'impossible' happened)

(GHC version 7.4.2 for i386-unknown-mingw32):

nameModule show{tv aqY}

Please report this as a GHC bug:

Alex version is 3.0.2 ghc version is 7.4.2 (haskell platform 2012.4.0.0)

Can't give much details, first time using Alex... attaching the files

Attachments (2)

M90.x (943 bytes) - added by guest 5 years ago.
Original Alex file
M90.hs (38.3 KB) - added by guest 5 years ago.
File generated by Alex

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by guest

Attachment: M90.x added

Original Alex file

Changed 5 years ago by guest

Attachment: M90.hs added

File generated by Alex

comment:1 Changed 5 years ago by simonpj

difficulty: Unknown
Resolution: duplicate
Status: newclosed

Thanks. This is another example of GHC most oft-reported bug (fixed some time ago), #5961, #7549, #7516, #7455, #7252, #7236, etc! The culprit is the lower-case show in the deriving clause for Token. It's not Alex's fault, happily.


Note: See TracTickets for help on using tickets.