#2588: Missed suggestion with context on foralls
---------------------------------+------------------------------------------
    Reporter:  NeilMitchell      |       Owner:                  
        Type:  bug               |      Status:  new             
    Priority:  lowest            |   Milestone:  7.6.2           
   Component:  Compiler          |     Version:  6.9             
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------
Changes (by monoidal):

  * failure:  => None/Unknown


Comment:

 It seems this bug is fixed in 7.6. Both

 `test :: forall a . a -> a`

 and

 `test :: forall a . Eq a => a -> a`

 currently give the same error message, suggesting RankNTypes. Close as
 fixed?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2588#comment:13>
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