Spelling "show" with lovercase causes compiler crash
The embedded code in this report makes GHC panic. I accidentally spelled "show" with a lowercase s.
This is the output when trying to load the script in GHCi:
- Main> :r
[1 of 1] Compiling Main ( btree.hs, interpreted ) ghc.exe: panic! (the 'impossible' happened)
(GHC version 7.4.2 for i386-unknown-mingw32):
nameModule show{tv alJ}
type Vejnavn = String
type By = String
data Adresse = Adresse Vejnavn By
deriving(show)
Trac metadata
Trac field | Value |
---|---|
Version | 7.4.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |