[GHC] #16097: Bad error message for a misaligned case block in a do-let expression

GHC ghc-devs at haskell.org
Sun Jan 6 21:37:57 UTC 2019


#16097: Bad error message for a misaligned case block in a do-let expression
-------------------------------------+-------------------------------------
        Reporter:  kanetw            |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.6.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Poor/confusing    |  Unknown/Multiple
  error message                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by j.waldmann):

 The error message ("in function application") is wrong? The underlined
 part
 (the "do") is not an application.

 Agree with svenpanne.

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


More information about the ghc-tickets mailing list