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

#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@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

#9147: defining data type in GHC results in ghc: panic! (the 'impossible' happened) -------------------------------+------------------------------------ Reporter: tdp93422 | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: GHCi | Version: 7.4.1 Resolution: duplicate | Keywords: Operating System: Linux | Architecture: Unknown/Multiple Type of failure: GHCi crash | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------+------------------------------------ Changes (by rwbarton): * status: new => closed * resolution: => duplicate Comment: Duplicate of #5961, fixed since GHC 7.6. `deriving (read, show, eq, ord)` should be `deriving (Read, Show, Eq, Ord)`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9147#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC