#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 Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:


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: http://www.haskell.org/ghc/reportabug

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

Download all attachments as: .zip

Change History (3)

Changed 15 months ago by guest

Original Alex file

Changed 15 months ago by guest

File generated by Alex

comment:1 Changed 15 months 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.