No ambiguity check when `ConstrainedClassMethods` is on
The following program is wrongfully accepted when ConstrainedClassMethods
is on:
module ShouldFail where
class Foo a where
op :: Eq b => a -> Int
I have a fix.
Trac metadata
Trac field | Value |
---|---|
Version | 7.10.1-rc2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler (Type checker) |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |