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

GHC ghc-devs at haskell.org
Fri Jul 31 08:48:12 UTC 2015


#2530: deriving Show adds extra parens for constructor with record syntax
-------------------------------------+-------------------------------------
        Reporter:  spl               |                   Owner:
            Type:  bug               |                  Status:  closed
        Priority:  lowest            |               Milestone:  7.12.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 Revisions:  Phab:D669
-------------------------------------+-------------------------------------

Comment (by nomeata):

 JFTR if you come across this bug and are worried: A quick test shows that
 `read . show` still works fine, even if `read` and `show` come from
 different versions of GHC, in all combinations.

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


More information about the ghc-tickets mailing list