[GHC] #10453: \case should trigger auto-multiline mode in ghci

GHC ghc-devs at haskell.org
Wed Oct 24 12:19:40 UTC 2018


#10453: \case should trigger auto-multiline mode in ghci
-------------------------------------+-------------------------------------
        Reporter:  dmwit             |                Owner:  (none)
            Type:  feature request   |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.1
      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/10453#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list