diff options
author | Alan Zimmerman <alan.zimm@gmail.com> | 2023-04-25 23:24:27 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2023-04-26 14:52:05 -0400 |
commit | 052e2bb629abc97b394b9de2394eb36cbed9385f (patch) | |
tree | 3ae7f17afa7de56fbdfd0ee2aa8af3fbb3a23811 /testsuite/tests/ghc-api/exactprint/T22919.stderr | |
parent | 77f506b888624b4fd30205fb8512f39435055a27 (diff) | |
download | haskell-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/ghc-api/exactprint/T22919.stderr')
-rw-r--r-- | testsuite/tests/ghc-api/exactprint/T22919.stderr | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/testsuite/tests/ghc-api/exactprint/T22919.stderr b/testsuite/tests/ghc-api/exactprint/T22919.stderr index eb4c9c9a4c..5215026856 100644 --- a/testsuite/tests/ghc-api/exactprint/T22919.stderr +++ b/testsuite/tests/ghc-api/exactprint/T22919.stderr @@ -12,12 +12,7 @@ (AnnsModule [(AddEpAnn AnnModule (EpaSpan { T22919.hs:1:1-6 })) ,(AddEpAnn AnnWhere (EpaSpan { T22919.hs:1:29-33 }))] - (AnnList - (Nothing) - (Nothing) - (Nothing) - [] - []) + [] (Just ((,) { T22919.hs:3:1 } |