#6021: panic with scoped kind variables
--------------------------------+-------------------------------------------
Reporter: atnnn | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.5 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: Compile-time crash | Testcase:
Blockedby: | Blocking:
Related: |
--------------------------------+-------------------------------------------
Thanks for the scoped kind variables.
When they get confused with type variables, GHC panics instead of
displaying an error.
{{{
{-# LANGUAGE KindSignatures, MultiParamTypeClasses #-}
class Panic a b
instance Panic (a :: b) b
}}}
{{{
ghc-stage2: panic! (the 'impossible' happened)
(GHC version 7.5.20120416 for x86_64-unknown-linux):
tcTyVarDetails a{tv aj60} [tv]
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6021>
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