EPA: Correctly capture leading semis in decl list
Closes #25467 (cherry picked from commit 0614abef)
Showing
- compiler/GHC/Parser.y 3 additions, 3 deletionscompiler/GHC/Parser.y
- testsuite/tests/parser/should_compile/DumpSemis.stderr 1 addition, 1 deletiontestsuite/tests/parser/should_compile/DumpSemis.stderr
- testsuite/tests/printer/Makefile 5 additions, 0 deletionstestsuite/tests/printer/Makefile
- testsuite/tests/printer/Test20297.stdout 2 additions, 2 deletionstestsuite/tests/printer/Test20297.stdout
- testsuite/tests/printer/Test25467.hs 21 additions, 0 deletionstestsuite/tests/printer/Test25467.hs
- testsuite/tests/printer/all.T 1 addition, 0 deletionstestsuite/tests/printer/all.T
- utils/check-exact/Main.hs 3 additions, 2 deletionsutils/check-exact/Main.hs
Loading
Please register or sign in to comment