[GHC] #2238: panic nameModule tpl_B1{v}

GHC trac at galois.com
Fri Apr 25 07:46:33 EDT 2008


#2238: panic nameModule tpl_B1{v}
------------------------+---------------------------------------------------
    Reporter:  claus    |       Owner:          
        Type:  bug      |      Status:  new     
    Priority:  normal   |   Component:  Compiler
     Version:  6.9      |    Severity:  normal  
    Keywords:           |    Testcase:          
Architecture:  Unknown  |          Os:  Unknown 
------------------------+---------------------------------------------------
 using the attached code, we get
 {{{
 *Main> cfd True
 "cfd"
 *Main> ctf True

 <interactive>:1:0:
     No instance for (CTF Bool how)
       arising from a use of `ctf' at <interactive>:1:0-7
     Possible fix: add an instance declaration for (CTF Bool how)
     In the expression: ctf True
     In the definition of `it': it = ctf True
 }}}
 but if we uncomment the `CTF` instance, we get panic, even for cfd..
 {{{
 *Main> cfd True
 : panic! (the 'impossible' happened)
   (GHC version 6.9.20080217 for i386-unknown-mingw32):
         nameModule tpl_B1{v}

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

 *Main> ctf True
 : panic! (the 'impossible' happened)
   (GHC version 6.9.20080217 for i386-unknown-mingw32):
         nameModule tpl_B1{v}

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
 }}}

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


More information about the Glasgow-haskell-bugs mailing list