summaryrefslogtreecommitdiff
path: root/testsuite/tests/printer/Test20297.stdout
diff options
context:
space:
mode:
authorAlan Zimmerman <alan.zimm@gmail.com>2023-04-25 23:24:27 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-04-26 14:52:05 -0400
commit052e2bb629abc97b394b9de2394eb36cbed9385f (patch)
tree3ae7f17afa7de56fbdfd0ee2aa8af3fbb3a23811 /testsuite/tests/printer/Test20297.stdout
parent77f506b888624b4fd30205fb8512f39435055a27 (diff)
downloadhaskell-052e2bb629abc97b394b9de2394eb36cbed9385f.tar.gz
EPA: Use ExplicitBraces only in HsModule
!9018 brought in exact print annotations in LayoutInfo for open and close braces at the top level. But it retained them in the HsModule annotations too. Remove the originals, so exact printing uses LayoutInfo
Diffstat (limited to 'testsuite/tests/printer/Test20297.stdout')
-rw-r--r--testsuite/tests/printer/Test20297.stdout14
1 files changed, 2 insertions, 12 deletions
diff --git a/testsuite/tests/printer/Test20297.stdout b/testsuite/tests/printer/Test20297.stdout
index 180078c16a..586d9fae20 100644
--- a/testsuite/tests/printer/Test20297.stdout
+++ b/testsuite/tests/printer/Test20297.stdout
@@ -12,12 +12,7 @@
(AnnsModule
[(AddEpAnn AnnModule (EpaSpan { Test20297.hs:2:1-6 }))
,(AddEpAnn AnnWhere (EpaSpan { Test20297.hs:2:18-22 }))]
- (AnnList
- (Nothing)
- (Nothing)
- (Nothing)
- []
- [])
+ []
(Just
((,)
{ Test20297.hs:12:1 }
@@ -357,12 +352,7 @@
(AnnsModule
[(AddEpAnn AnnModule (EpaSpan { Test20297.ppr.hs:2:1-6 }))
,(AddEpAnn AnnWhere (EpaSpan { Test20297.ppr.hs:2:18-22 }))]
- (AnnList
- (Nothing)
- (Nothing)
- (Nothing)
- []
- [])
+ []
(Just
((,)
{ Test20297.ppr.hs:9:25 }