[GHC] #16097: Bad error message for a misaligned case block in a do-let expression
GHC
ghc-devs at haskell.org
Thu Dec 27 12:46:39 UTC 2018
#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 svenpanne):
Replying to [comment:1 osa1]:
> I suspect (but haven't verified) that this is caused by the block
arguments patch: be84823b956f0aa09c58d94d1901f2dff13546b4
Well, confusion is the price you have to pay when you try to give more or
less every sequence of characters a meaning... Introducing tons of
conflicts into the parser should have been a clear warning sign that
BlockArguments and quite a few of the recent "improvements" to the syntax
are a bad idea.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16097#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list