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

GHC ghc-devs at haskell.org
Mon Oct 2 13:44:23 UTC 2017


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

 Is pretty printed as
 {{{#!hs
 class a `C` b c
 }}}

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


More information about the ghc-tickets mailing list