[GHC] #13087: AlternativeLayoutRule breaks LambdaCase
GHC
ghc-devs at haskell.org
Wed Oct 24 12:19:40 UTC 2018
#13087: AlternativeLayoutRule breaks LambdaCase
-------------------------------------+-------------------------------------
Reporter: ohhellojoe | Owner: (none)
Type: bug | Status: patch
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
(Parser) |
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D5236
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ryan Scott <ryan.gl.scott@…>):
In [changeset:"eaf159340cfa948c16fa212ff1bf5aec6134a694/ghc" eaf1593/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="eaf159340cfa948c16fa212ff1bf5aec6134a694"
Trigger multiline mode in GHCi on '\case' (#13087)
Summary:
In ALR, 'ITlcase' should expect an opening curly. This is probably a
forgotten
edge case in ALR, since `maybe_layout` (which handles the non-ALR layout)
already deals with the 'ITlcase' token properly.
Test Plan: make TEST=T10453 && make TEST=T13087
Reviewers: bgamari, RyanGlScott
Reviewed By: RyanGlScott
Subscribers: RyanGlScott, rwbarton, carter
GHC Trac Issues: #10453, #13087
Differential Revision: https://phabricator.haskell.org/D5236
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13087#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list