summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-api
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/ghc-api
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/ghc-api')
-rw-r--r--testsuite/tests/ghc-api/annotations-literals/literals.stdout6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/tests/ghc-api/annotations-literals/literals.stdout b/testsuite/tests/ghc-api/annotations-literals/literals.stdout
index 2d3b6b1adf..ded26dadcd 100644
--- a/testsuite/tests/ghc-api/annotations-literals/literals.stdout
+++ b/testsuite/tests/ghc-api/annotations-literals/literals.stdout
@@ -80,7 +80,7 @@
(LiteralsTest.hs:15:3,ITequal,[=]),
-(LiteralsTest.hs:15:5-8,ITrational (FL {fl_text = "0.00", fl_value = 0 % 1}),[0.00]),
+(LiteralsTest.hs:15:5-8,ITrational FL {fl_text = "0.00", fl_value = 0 % 1},[0.00]),
(LiteralsTest.hs:17:1,ITsemi,[]),
@@ -122,7 +122,7 @@
(LiteralsTest.hs:22:12,ITequal,[=]),
-(LiteralsTest.hs:22:14-18,ITprimfloat (FL {fl_text = "3.20", fl_value = 16 % 5}),[3.20#]),
+(LiteralsTest.hs:22:14-18,ITprimfloat FL {fl_text = "3.20", fl_value = 16 % 5},[3.20#]),
(LiteralsTest.hs:23:5,ITsemi,[]),
@@ -130,7 +130,7 @@
(LiteralsTest.hs:23:13,ITequal,[=]),
-(LiteralsTest.hs:23:15-21,ITprimdouble (FL {fl_text = "04.16", fl_value = 104 % 25}),[04.16##]),
+(LiteralsTest.hs:23:15-21,ITprimdouble FL {fl_text = "04.16", fl_value = 104 % 25},[04.16##]),
(LiteralsTest.hs:24:5,ITsemi,[]),