[GHC] #9896: panic: wrongKindOfFamily
GHC
ghc-devs at haskell.org
Thu Dec 18 04:30:34 UTC 2014
#9896: panic: wrongKindOfFamily
-------------------------------------+-------------------------------------
Reporter: luite | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.9
Keywords: | Operating System:
Architecture: Unknown/Multiple | Unknown/Multiple
Difficulty: Unknown | Type of failure:
Blocked By: | None/Unknown
Related Tickets: | Test Case:
| Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
The following code panics with GHC HEAD:
{{{#!hs
{-# LANGUAGE TypeFamilies #-}
class Test a where
type TestT a :: *
instance Test Bool where
newtype TestT Bool = Int
}}}
{{{
$ ghc Panic2.hs
[1 of 1] Compiling Main ( Panic2.hs, Panic2.o )
Panic2.hs:7:3:ghc.exe: panic! (the 'impossible' happened)
(GHC version 7.9.20141217 for i386-unknown-mingw32):
wrongKindOfFamily TestT
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9896>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list