duplicate "not in scope" error when giving multiple vars type-signatures at once
(bug in 6.6.1 and 6.7)
a, b :: Integer -> Tpyo
a = undefined
b = undefined
results in
gw.hs:2:19: Not in scope: type constructor or class `Tpyo'
gw.hs:2:19: Not in scope: type constructor or class `Tpyo'
Expected result: only one of the same error per location in file of mistake, not one per function being defined.
Trac metadata
Trac field | Value |
---|---|
Version | 6.6.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Unknown |
Architecture | Unknown |