[GHC] #15331: -ddump-splices does not parenthesize visible type applications correctly

GHC ghc-devs at haskell.org
Thu Jul 5 13:51:59 UTC 2018


#15331: -ddump-splices does not parenthesize visible type applications correctly
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.3
      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:D4920
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ryan Scott <ryan.gl.scott@…>):

 In [changeset:"b6a3386186b77333b7a6cdc163499d7dae0dad1c/ghc" b6a3386/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="b6a3386186b77333b7a6cdc163499d7dae0dad1c"
 Fix #15331 with careful blasts of parenthesizeHsType

 Summary:
 Another `-ddump-splices` bug that can be solved with more
 judicious use of parentheses.

 Test Plan: make test TEST=T15331

 Reviewers: goldfire, bgamari, alanz, tdammers

 Reviewed By: tdammers

 Subscribers: rwbarton, thomie, carter

 GHC Trac Issues: #15331

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

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


More information about the ghc-tickets mailing list