#5957: signatures are too permissive
------------------------------------------+---------------------------------
  Reporter:  maeder                       |          Owner:                  
      Type:  bug                          |         Status:  new             
  Priority:  low                          |      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 simonpj):

  * priority:  normal => low
  * milestone:  => _|_


Comment:

 It's a bit awkward to exclude this, because we do validity checking on the
 type ''after'' converting it to `Type`, at which point the distinction
 between `Eq a => Eq b => ty` and `(Eq a, Eq b) => ty` has disappeared.

 You are right that it's a bug but I'm not sure it's worth the cycles to
 fix it.  I'm willing to be told otherwise.

 Simon

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5957#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to