[GHC] #13628: Confusing error message with TypeApplications already enabled

GHC ghc-devs at haskell.org
Fri Apr 28 13:02:56 UTC 2017


#13628: Confusing error message with TypeApplications already enabled
-------------------------------------+-------------------------------------
        Reporter:  nh2               |                Owner:  (none)
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.2
      Resolution:  duplicate         |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Poor/confusing    |  Unknown/Multiple
  error message                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #12879            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by RyanGlScott):

 * status:  new => closed
 * resolution:   => duplicate
 * related:   => #12879


Comment:

 Thankfully, this is fixed in GHC 8.2.1, where you get this error message
 instead:

 {{{
     Pattern syntax in expression context: myFunction at a
     Type application syntax requires a space before '@'
 }}}

 See #12879 for the original ticket.

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


More information about the ghc-tickets mailing list