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

GHC cvs-ghc at haskell.org
Sat May 4 14:27:42 CEST 2013


#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



More information about the ghc-tickets mailing list