[GHC] #12429: Pattern synonym parse error should recommend enabling extension

GHC ghc-devs at haskell.org
Thu Aug 11 11:01:50 UTC 2016


#12429: Pattern synonym parse error should recommend enabling extension
-------------------------------------+-------------------------------------
        Reporter:  agibiansky        |                Owner:
            Type:  bug               |               Status:  new
        Priority:  low               |            Milestone:
       Component:  Compiler          |              Version:  7.10.3
      Resolution:                    |             Keywords:
                                     |  PatternSynonyms
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 That sounds very sensible and do-able.  Would anyone like to offer a
 patch?  We have precedents; e.g. a sensible error when people use `forall`
 without `RankNTypes`.

 Simon

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


More information about the ghc-tickets mailing list