#5957: signatures are too permissive
------------------------------------------+---------------------------------
Reporter: maeder | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler (Type checker) | Version: 7.4.1
Resolution: | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Difficulty: Unknown
Testcase: typecheck/should_fail/T5957 | Blockedby:
Blocking: | Related:
------------------------------------------+---------------------------------
Changes (by maeder):
* owner: simonpj =>
* status: closed => new
* resolution: fixed =>
Comment:
I've got another example that should be rejected.
{{{
f :: Eq a => Eq b => a -> b
f = undefined
}}}
hugs and ghc-6.8.3 reject this. Newer versions do not.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5957#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs