[GHC] #14306: pretty-printer missing parens for infix class declaration

GHC ghc-devs at haskell.org
Mon Oct 2 18:15:31 UTC 2017


#14306: pretty-printer missing parens for infix class declaration
-------------------------------------+-------------------------------------
        Reporter:  alanz             |                Owner:  alanz
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #14289            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Alan Zimmerman <alan.zimm@…>):

 In [changeset:"0e9681268a38cbc15c9c2b50979624732c9077ce/ghc" 0e96812/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="0e9681268a38cbc15c9c2b50979624732c9077ce"
 Pretty-printer missing parens for infix class declaration

     class (a `C` b) c

 Is pretty printed as

     class a `C` b c

 Fixes #14306
 }}}

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


More information about the ghc-tickets mailing list