Panic because of "updateRole"
Not the most recent GHC
{-# LANGUAGE RankNTypes, TypeInType #-}
import Data.Kind
data HEq :: forall k1. k1 -> forall k2. k2 -> Type where
gives
% ghci -ignore-dot-ghci tx9F.hs
GHCi, version 8.1.20160117: http://www.haskell.org/ghc/ :? for help
[1 of 1] Compiling Main ( tx9F.hs, interpreted )
ghc: panic! (the 'impossible' happened)
(GHC version 8.1.20160117 for x86_64-unknown-linux):
updateRole
HEq
k2_a115
[a114 :-> 0, a11e :-> 1, a11f :-> 2]
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
>
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |