Failure to require FlexibleContexts
GHC accepts the following code without any extensions:
f :: Ord (i Int) => i Int -> i Int
f = undefined
It ought to require FlexibleContexts.
Trac metadata
Trac field | Value |
---|---|
Version | 7.6.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler (Parser) |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |