[GHC] #7886: data command does not work on WinGHCi

#7886: data command does not work on WinGHCi -------------------------+-------------------------------------------------- Reporter: guest | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.4.2 | Keywords: Os: Windows | Architecture: Unknown/Multiple Failure: None/Unknown | Blockedby: Blocking: | Related: -------------------------+-------------------------------------------------- An error is obtained when defining a new data type in WinGHCi with the data command. {{{ data List a = Empty | Cons a (List a) deriving (show) }}} The error is as follows. {{{ ghc: panic! (the 'impossible' happened) (GHC version 7.4.2 for i386-unknown-mingw32): nameModule show{tv aC4} Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7886 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7886: data command does not work on WinGHCi ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: bug | Status: closed Priority: normal | Component: Compiler Version: 7.4.2 | Resolution: duplicate Keywords: | Os: Windows Architecture: Unknown/Multiple | Failure: None/Unknown Blockedby: | Blocking: Related: | ---------------------------------+------------------------------------------ Changes (by monoidal): * status: new => closed * resolution: => duplicate Comment: This is caused by "deriving (show)" which should be "deriving (Show)". It's already fixed in 7.6, see #5961. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7886#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC