summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAlan Zimmerman <alan.zimm@gmail.com>2022-03-10 23:23:16 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-05-11 08:23:33 -0400
commit4a4c77ed8f16f157dd647593de58840b024bbd2d (patch)
treeca61146523ef92158c599d9693bd9583c08e6146 /utils
parent8500206ea7084f3914efd3fe7f4336f2893eb4ac (diff)
downloadhaskell-4a4c77ed8f16f157dd647593de58840b024bbd2d.tar.gz
EPA: do statement with leading semicolon has wrong anchor
The code do; a <- doAsync; b Generated an incorrect Anchor for the statement list that starts after the first semicolon. This commit fixes it. Closes #20256
Diffstat (limited to 'utils')
-rw-r--r--utils/check-exact/Main.hs7
1 files changed, 4 insertions, 3 deletions
diff --git a/utils/check-exact/Main.hs b/utils/check-exact/Main.hs
index d170e5e945..b83cc9cd86 100644
--- a/utils/check-exact/Main.hs
+++ b/utils/check-exact/Main.hs
@@ -37,8 +37,8 @@ import GHC.Data.FastString
_tt :: IO ()
-- _tt = testOneFile changers "/home/alanz/mysrc/git.haskell.org/ghc/_build/stage1/lib"
-_tt = testOneFile changers "/home/alanz/mysrc/git.haskell.org/worktree/exactprint/_build/stage1/lib"
--- _tt = testOneFile changers "/home/alanz/mysrc/git.haskell.org/worktree/epw/_build/stage1/lib"
+-- _tt = testOneFile changers "/home/alanz/mysrc/git.haskell.org/worktree/exactprint/_build/stage1/lib"
+_tt = testOneFile changers "/home/alanz/mysrc/git.haskell.org/worktree/epw/_build/stage1/lib"
-- "../../testsuite/tests/ghc-api/exactprint/RenameCase1.hs" (Just changeRenameCase1)
-- "../../testsuite/tests/ghc-api/exactprint/LayoutLet2.hs" (Just changeLayoutLet2)
@@ -197,7 +197,8 @@ _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
+ -- "../../testsuite/tests/parser/should_compile/DumpSemis.hs" Nothing
+ "../../testsuite/tests/printer/Test20256.hs" Nothing
-- cloneT does not need a test, function can be retired