diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2015-03-02 11:07:58 -0600 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2015-03-02 11:07:58 -0600 |
commit | 5692643c9d17e746327588cd6157a923642b7975 (patch) | |
tree | 66585ae681f87c87c6179b2be64cfddb7f22bd23 /testsuite/tests/deriving | |
parent | d2e6a3b5edd687f2a384cd6671a519e222f664b8 (diff) | |
download | haskell-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.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 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} |