[GHC] #2530: deriving Show adds extra parens for constructor with record syntax

GHC ghc-devs at haskell.org
Sun Feb 7 11:50:27 UTC 2016


#2530: deriving Show adds extra parens for constructor with record syntax
-------------------------------------+-------------------------------------
        Reporter:  spl               |                Owner:
            Type:  bug               |               Status:  closed
        Priority:  lowest            |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  6.8.3
      Resolution:  fixed             |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D669
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by hvr):

 Fyi, this broke a few testsuites of mine based on golden-tests based on
 the `Show`-serialisation. Not sure yet how I can fix this other than using
 a duplicated set of golden files with the old and new `Show` instance
 serialisation...

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


More information about the ghc-tickets mailing list