diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2016-03-24 10:54:11 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-03-24 12:14:10 +0100 |
commit | 1448f8ab2379452312f1f74f6d5ba4de8ad3d47e (patch) | |
tree | 9bdbaae957da77bc6af73a6df525213d66ac2f19 /testsuite/tests/deriving/should_run | |
parent | ef653f1f819e5213f7a2a7ea1b78e3fa76c66c8e (diff) | |
download | haskell-1448f8ab2379452312f1f74f6d5ba4de8ad3d47e.tar.gz |
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
Diffstat (limited to 'testsuite/tests/deriving/should_run')
-rw-r--r-- | testsuite/tests/deriving/should_run/drvrun020.stdout | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/deriving/should_run/drvrun020.stdout b/testsuite/tests/deriving/should_run/drvrun020.stdout index 9e95df173c..bb33aca722 100644 --- a/testsuite/tests/deriving/should_run/drvrun020.stdout +++ b/testsuite/tests/deriving/should_run/drvrun020.stdout @@ -1 +1 @@ -3 :%% T2 T1 {f1 = 3} +3 :%% T2 (T1 {f1 = 3}) |