Non-ideal error with a kind error in a tuple
The definition
type T a = (a, Maybe)
gives an error:
Expecting one more argument to ‛a’
The first argument of a tuple should have kind ‛*’,
but ‛a’ has kind ‛* -> *’
However, obviously that's not the problem - the error should point to the Maybe
part.
Trac metadata
Trac field | Value |
---|---|
Version | 7.6.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | lowest |
Resolution | Unresolved |
Component | Compiler (Type checker) |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |