panic: kindFunResult ghc-prim:GHC.Prim.*{(w) tc 34d}
This code:
f :: (Num Int => Num) () => ()
f = undefined
make ghc panic:
$ ghci q.hs
GHCi, version 7.7.20130421: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
[1 of 1] Compiling Main ( q.hs, interpreted )
ghc-stage2: panic! (the 'impossible' happened)
(GHC version 7.7.20130421 for x86_64-unknown-linux):
kindFunResult ghc-prim:GHC.Prim.*{(w) tc 34d}
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
>
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.6.3 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | high |
| Resolution | Unresolved |
| Component | Compiler (Type checker) |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |