defining data type in GHC results in ghc: panic! (the 'impossible' happened)
vagrant@precise32:~/xml$ ghci -XOverloadedStrings GHCi, version 7.4.1: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Prelude> data Plant = Plant {common :: String, botanical :: String, zone :: Integer, light :: String, price :: String, availability :: String} deriving (read, show, eq, ord) ghc: panic! (the 'impossible' happened)
(GHC version 7.4.1 for i386-unknown-linux):
nameModule read{tv a9Q}
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
Trac metadata
Trac field | Value |
---|---|
Version | 7.4.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | GHCi |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | hvr |
Operating system | |
Architecture |