[GHC] #2796: GHC panic related to associated types

GHC trac at galois.com
Fri Nov 21 05:40:27 EST 2008


#2796: GHC panic related to associated types
--------------------------------------------------------------------------------------+
 Reporter:  FSalad                                                                    |          Owner:  chak            
     Type:  bug                                                                       |         Status:  new             
 Priority:  normal                                                                    |      Milestone:  6.10.2          
Component:  Compiler                                                                  |        Version:  6.10.1          
 Severity:  normal                                                                    |     Resolution:                  
 Keywords:  associated types, associated type synonyms, type families, family, panic  |     Difficulty:  Unknown         
 Testcase:                                                                            |   Architecture:  Unknown/Multiple
       Os:  Linux                                                                     |  
--------------------------------------------------------------------------------------+
Changes (by simonpj):

  * owner:  => chak
  * difficulty:  => Unknown
  * milestone:  => 6.10.2

Old description:

> Hello :)
>
> the attached program mysteriously fails with:
>
> >>> ghc --make Bug
>
> [1 of 1] Compiling Bug              ( Bug.hs, Bug.o )
> ghc: panic! (the 'impossible' happened)
>   (GHC version 6.10.1 for i386-unknown-linux):
>         typePrimRep
>     <pred>main:Bug.FDom{tc rfJ} f1{tv afZ} [tv]
>             ~
>           main:Bug.FDom{tc rfJ} f2{tv ag0} [tv]
>
> Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

New description:

 The attached program mysteriously fails with:
 {{{
 >>> ghc --make Bug

 [1 of 1] Compiling Bug              ( Bug.hs, Bug.o )
 ghc: panic! (the 'impossible' happened)
   (GHC version 6.10.1 for i386-unknown-linux):
         typePrimRep
     <pred>main:Bug.FDom{tc rfJ} f1{tv afZ} [tv]
             ~
           main:Bug.FDom{tc rfJ} f2{tv ag0} [tv]

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

Comment:

 Thanks for the report.  Assigning to Manuel.

 Simon

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


More information about the Glasgow-haskell-bugs mailing list