a weird kind error with 2-rank types
Type this with ghci -fglasgow-exts:
f :: (forall a b . a b -> int) -> (forall c . c int) ->
int
f x y = x y
The error(?) message is:
"Urk! Inventing strangely-kinded void TyCon ZCc{-a14P-}"
Trac metadata
Trac field | Value |
---|---|
Version | 5.02 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | ResolvedFixed |
Component | Compiler (Type checker) |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |