[GHC] #7854: Constrained method type accepted in Haskell 98 mode

GHC ghc-devs at haskell.org
Sat Mar 7 22:03:28 UTC 2015


#7854: Constrained method type accepted in Haskell 98 mode
-------------------------------------+-------------------------------------
        Reporter:  refold            |                   Owner:  thomie
            Type:  bug               |                  Status:  closed
        Priority:  normal            |               Milestone:  7.12.1
       Component:  Compiler (Type    |                 Version:  7.6.3
  checker)                           |                Keywords:  newcomer
      Resolution:  fixed             |            Architecture:
Operating System:  Unknown/Multiple  |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |  module/mod39
 Related Tickets:  #10118, #10119    |                Blocking:
                                     |  Differential Revisions:  Phab:D688
-------------------------------------+-------------------------------------

Comment (by hvr):

 Replying to [comment:16 ekmett]:
 > Otherwise I'm going to have to start putting CPP around the set of
 directives for the module.

 Why CPP? Afaik, `{-# LANGUAGE ConstrainedClassMethods #-}` is supported
 since GHC 7.0.1 ...

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


More information about the ghc-tickets mailing list