[GHC] #15760: Preserve parens in TH

GHC ghc-devs at haskell.org
Wed Oct 17 15:01:04 UTC 2018


#15760: Preserve parens in TH
-------------------------------------+-------------------------------------
        Reporter:  goldfire          |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Template Haskell  |              Version:  8.6.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):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 That sounds like a reasonable enough desire. Where are you applying this
 fix? In `DsMeta`? If so, please make sure that the functions in `Convert`
 don't accidentally add extraneous parentheses (I've tried quite hard to
 ensure that `Convert` only adds required parentheses if they're missing,
 but it's quite possible that I've missed a case).

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


More information about the ghc-tickets mailing list