[GHC] #2588: Missed suggestion with context on foralls

GHC cvs-ghc at haskell.org
Mon Nov 26 23:18:30 CET 2012


#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



More information about the Glasgow-haskell-bugs mailing list