ghc accepts non-standard type without language extension
Ghc accepts this
f :: Eq a => Eq b => a -> b -> Bool
f a b = a==a && b==b
The nested contexts should require some language extension.
Trac metadata
Trac field | Value |
---|---|
Version | 7.8.4 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |