summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_run
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2016-03-24 10:54:11 +0100
committerBen Gamari <ben@smart-cactus.org>2016-03-24 12:14:10 +0100
commit1448f8ab2379452312f1f74f6d5ba4de8ad3d47e (patch)
tree9bdbaae957da77bc6af73a6df525213d66ac2f19 /testsuite/tests/deriving/should_run
parentef653f1f819e5213f7a2a7ea1b78e3fa76c66c8e (diff)
downloadhaskell-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.stdout2
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})