#2334: panic using type families and type classes
---------------------------+------------------------------------------------
 Reporter:  pgavin         |          Owner:         
     Type:  bug            |         Status:  new    
 Priority:  normal         |      Milestone:         
Component:  Compiler       |        Version:  6.9    
 Severity:  normal         |     Resolution:         
 Keywords:  type families  |     Difficulty:  Unknown
 Testcase:                 |   Architecture:  x86    
       Os:  MacOS X        |  
---------------------------+------------------------------------------------
Changes (by simonmar):

  * difficulty:  => Unknown

Old description:

> I got a panic while trying to compile some code using type families:
>
> ghc-6.9.20080528: panic! (the 'impossible' happened)
>   (GHC version 6.9.20080528 for i386-apple-darwin):
>         urk! lookup local fingerprint
>
> I can't post the code that caused that (yet) but when I was trying to
> distill it down to its essence for a bug report, I got a different panic:
>
> ghc-6.9.20080528: panic! (the 'impossible' happened)
>   (GHC version 6.9.20080528 for i386-apple-darwin):
>         Prelude.head: empty list
>
> I've attached the code that caused it.  I know the code might not be 100%
> correct, and it's a bit long, but I think it might help some.

New description:

 I got a panic while trying to compile some code using type families:
 {{{
 ghc-6.9.20080528: panic! (the 'impossible' happened)
   (GHC version 6.9.20080528 for i386-apple-darwin):
         urk! lookup local fingerprint
 }}}
 I can't post the code that caused that (yet) but when I was trying to
 distill it down to its essence for a bug report, I got a different panic:
 {{{
 ghc-6.9.20080528: panic! (the 'impossible' happened)
   (GHC version 6.9.20080528 for i386-apple-darwin):
         Prelude.head: empty list
 }}}
 I've attached the code that caused it.  I know the code might not be 100%
 correct, and it's a bit long, but I think it might help some.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2334#comment:1>
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