[GHC] #11540: ghc accepts non-standard type without language extension

GHC ghc-devs at haskell.org
Fri Feb 5 09:30:09 UTC 2016


#11540: ghc accepts non-standard type without language extension
-------------------------------------+-------------------------------------
           Reporter:  augustss       |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  7.8.4
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Ghc accepts this
 {{{
 f :: Eq a => Eq b => a -> b -> Bool
 f a b = a==a && b==b
 }}}
 The nested contexts should require some language extension.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11540>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list