[GHC] #2530: deriving Show adds extra parens for constructor with record syntax
GHC
ghc-devs at haskell.org
Thu Mar 24 15:12:32 UTC 2016
#2530: deriving Show adds extra parens for constructor with record syntax
-------------------------------------+-------------------------------------
Reporter: spl | Owner: bgamari
Type: bug | Status: patch
Priority: highest | Milestone: 8.0.1
Component: Compiler | Version: 6.8.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:D669,
Wiki Page: | Phab:D2027
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"1448f8ab2379452312f1f74f6d5ba4de8ad3d47e/ghc"
1448f8ab/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="1448f8ab2379452312f1f74f6d5ba4de8ad3d47e"
Show: Restore redundant parentheses around records
As discussed in #2530 we are going to continue to produce parentheses
here in order to preserve compatibility with previous GHC releases. It
was found that dropped parentheses would break some testsuites which
compared against output from Show. This has been documented in the users
guide.
This reverts commit 5692643c9d17e746327588cd6157a923642b7975.
Test Plan: Validate
Reviewers: hvr, austin
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D2027
GHC Trac Issues: #2350
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/2530#comment:39>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list