[GHC] #9147: defining data type in GHC results in ghc: panic! (the 'impossible' happened)

GHC ghc-devs at haskell.org
Wed May 28 18:34:51 UTC 2014


#9147: defining data type in GHC results in ghc: panic! (the 'impossible'
happened)
------------------------------------+-------------------------------
       Reporter:  tdp93422          |             Owner:
           Type:  bug               |            Status:  new
       Priority:  normal            |         Milestone:
      Component:  GHCi              |           Version:  7.4.1
       Keywords:                    |  Operating System:  Linux
   Architecture:  Unknown/Multiple  |   Type of failure:  GHCi crash
     Difficulty:  Unknown           |         Test Case:
     Blocked By:                    |          Blocking:
Related Tickets:                    |
------------------------------------+-------------------------------
 vagrant at 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

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9147>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list