summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAlan Zimmerman <alan.zimm@gmail.com>2021-10-11 23:05:08 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-10-14 14:34:07 -0400
commit8b7f5424c67b5ec005e061db87d30e124cf7234d (patch)
tree49b7c66079e415d6151d7edd2c180169a26e991a /utils
parentf450e9481eafa3a00c648c81154a9a8be2da7650 (diff)
downloadhaskell-8b7f5424c67b5ec005e061db87d30e124cf7234d.tar.gz
EPA: Preserve semicolon order in annotations
Ensure the AddSemiAnn items appear in increasing order, so that if they are converted to delta format they are still in the correct order. Prior to this the exact printer sorted by Span, which is meaningless for EpaDelta locations.
Diffstat (limited to 'utils')
-rw-r--r--utils/check-exact/Main.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/check-exact/Main.hs b/utils/check-exact/Main.hs
index 71af87b760..f1a9ed812d 100644
--- a/utils/check-exact/Main.hs
+++ b/utils/check-exact/Main.hs
@@ -72,7 +72,7 @@ _tt = testOneFile changers "/home/alanz/mysrc/git.haskell.org/worktree/exactprin
-- "../../testsuite/tests/ghc-api/exactprint/RmDecl1.hs" (Just rmDecl1)
-- "../../testsuite/tests/ghc-api/exactprint/RmDecl2.hs" (Just rmDecl2)
-- "../../testsuite/tests/ghc-api/exactprint/RmDecl3.hs" (Just rmDecl3)
- "../../testsuite/tests/ghc-api/exactprint/RmDecl4.hs" (Just rmDecl4)
+ -- "../../testsuite/tests/ghc-api/exactprint/RmDecl4.hs" (Just rmDecl4)
-- "../../testsuite/tests/ghc-api/exactprint/RmDecl5.hs" (Just rmDecl5)
-- "../../testsuite/tests/ghc-api/exactprint/RmDecl6.hs" (Just rmDecl6)
-- "../../testsuite/tests/ghc-api/exactprint/RmDecl7.hs" (Just rmDecl7)
@@ -199,6 +199,7 @@ _tt = testOneFile changers "/home/alanz/mysrc/git.haskell.org/worktree/exactprin
-- "../../testsuite/tests/printer/PprLinearArrow.hs" Nothing
-- "../../testsuite/tests/printer/PprSemis.hs" Nothing
-- "../../testsuite/tests/printer/PprEmptyMostly.hs" Nothing
+ "../../testsuite/tests/parser/should_compile/DumpSemis.hs" Nothing
-- cloneT does not need a test, function can be retired