Opened 3 years ago

Closed 3 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 3 years ago.
Original Alex file
M90.hs (38.3 KB) - added by guest 3 years ago.
File generated by Alex

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by guest

Original Alex file

Changed 3 years ago by guest

File generated by Alex

comment:1 Changed 3 years ago by simonpj

  • difficulty set to Unknown
  • Resolution set to duplicate
  • Status changed from new to closed

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.