[GHC] #13887: Template Haskell pretty-printer doesn't parenthesize infix datatype names in data declarations

GHC ghc-devs at haskell.org
Tue Jul 11 18:36:19 UTC 2017


#13887: Template Haskell pretty-printer doesn't parenthesize infix datatype names
in data declarations
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  ak3n
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Template Haskell  |              Version:  8.0.1
      Resolution:                    |             Keywords:  newcomer
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D3717
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"ef7fd0ae8b519b3cd05349753a0e145112c26b67/ghc" ef7fd0a/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="ef7fd0ae8b519b3cd05349753a0e145112c26b67"
 Parenthesize infix type names in data declarations in TH printer

 Previously datatype names were not paraenthesized (#13887).

 Reviewers: austin, bgamari, RyanGlScott

 Reviewed By: RyanGlScott

 Subscribers: RyanGlScott, rwbarton, thomie

 Differential Revision: https://phabricator.haskell.org/D3717
 }}}

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


More information about the ghc-tickets mailing list