Kind Incompatibility in GHC 7.6.3
In this commit I have added a line with an intentionally missing dollar-sign. This should result in a mundane build failure, but instead, GHC produces this message:
src/Main.hs:50:3:
Couldn't match kind `* -> *' with `*'
Expected type: Window -> Maybe Integer -> t0 Curses (Maybe Event)
Actual type: Window -> Maybe Integer -> t0 Curses (Maybe Event)
Kind incompatibility when matching types:
Window :: * -> *
Window :: *
The function `lift'ghc: panic! (the 'impossible' happened)
(GHC version 7.6.3 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 | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |