summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2015-03-02 11:07:58 -0600
committerAustin Seipp <austin@well-typed.com>2015-03-02 11:07:58 -0600
commit5692643c9d17e746327588cd6157a923642b7975 (patch)
tree66585ae681f87c87c6179b2be64cfddb7f22bd23 /testsuite/tests/deriving
parentd2e6a3b5edd687f2a384cd6671a519e222f664b8 (diff)
downloadhaskell-5692643c9d17e746327588cd6157a923642b7975.tar.gz
Show record construction/update without parens
Summary: The 2010 report mentions: "The result of `show` is a syntactically correct Haskell expression ... Parenthesis are only added where needed, //ignoring associativity//". Reviewers: austin Reviewed By: austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D669 GHC Trac Issues: #2530
Diffstat (limited to 'testsuite/tests/deriving')
-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 bb33aca722..9e95df173c 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}