Extra parens in error message's displayed code
In the code
f :: Bool a => a f = True
$ ghc13 --make teste The error message displayed is:
[1 of 1] Compiling Main ( teste.hs, teste.o )
teste.hs:1:6:
Type constructor
Bool' used as a class In the type signature for
f': f :: (Bool a) => a
Trac metadata
Trac field | Value |
---|---|
Version | 6.13 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |