Re: [GHC] #10734: pprint of ‘let’ inside ‘do’ prints invalid Haskell

GHC ghc-devs at haskell.org
Sat Nov 7 22:32:48 UTC 2015


#10734: pprint of ‘let’ inside ‘do’ prints invalid Haskell
-------------------------------------+-------------------------------------
        Reporter:  Fuuzetsu          |                Owner:  johnleo
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Template Haskell  |              Version:  7.10.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:  th/T10734.hs
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Richard Eisenberg <eir@…>):

 In [changeset:"be8858570274821546ccabf75fe01c3dad80e337/ghc"
 be885857/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="be8858570274821546ccabf75fe01c3dad80e337"
 fix #10734 by adding braces to pretty-printing of let inside do

 Test Plan: validate

 Reviewers: bgamari, austin, goldfire

 Reviewed By: goldfire

 Subscribers: thomie

 Differential Revision: https://phabricator.haskell.org/D1448

 GHC Trac Issues: #10734
 }}}

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


More information about the ghc-tickets mailing list