Class op should mention class tyvar
class Foo a where
op :: Int
is accepted, but it should be rejected. Any use of op
give ambiguity errors, of course, but it should be
rejected up front.
Trac metadata
Trac field | Value |
---|---|
Version | None |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | ResolvedFixed |
Component | None |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |