#2432: type family panic: Coercion.splitCoercionKindOf
------------------------+---------------------------------------------------
    Reporter:  claus    |       Owner:                         
        Type:  bug      |      Status:  new                    
    Priority:  normal   |   Component:  Compiler (Type checker)
     Version:  6.9      |    Severity:  normal                 
    Keywords:           |    Testcase:                         
Architecture:  Unknown  |          Os:  Unknown                
------------------------+---------------------------------------------------
 as seen in #2146#comment:5, confirmed with `GHCi, version 6.9.20080709`
 {{{
 {-# LANGUAGE TypeFamilies #-}
 type family F a :: * -> *

 foo3 :: (F Int ~ fi, F Bool ~ fb, fi a ~ fb a) => a
 foo3 = undefined
 }}}

 {{{
 ghc.exe: panic! (the 'impossible' happened)
   (GHC version 6.9.20080709 for i386-unknown-mingw32):
         Coercion.splitCoercionKindOf
     ghc-prim:GHC.Prim.left{(w) tc 34B} $co${tc a7j} [tv]
     <pred>fi{tv a6W} [sk] ~ fb{tv a6X} [sk]

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

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2432>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to