EPA: Incorrect span for LWarnDec GhcPs
The code (from T23465.hs) {-# WARNInG in "x-c" e "d" #-} e = e gives an incorrect span for the LWarnDecl GhcPs Closes #23892 It also fixes the Test23465/Test23464 mixup
Showing
- compiler/GHC/Hs/Decls.hs 1 addition, 1 deletioncompiler/GHC/Hs/Decls.hs
- compiler/GHC/Parser.y 6 additions, 3 deletionscompiler/GHC/Parser.y
- compiler/GHC/Parser/Annotation.hs 4 additions, 0 deletionscompiler/GHC/Parser/Annotation.hs
- testsuite/tests/printer/Makefile 4 additions, 4 deletionstestsuite/tests/printer/Makefile
- testsuite/tests/printer/Test23464.hs 0 additions, 4 deletionstestsuite/tests/printer/Test23464.hs
- testsuite/tests/printer/Test23465.hs 14 additions, 0 deletionstestsuite/tests/printer/Test23465.hs
- testsuite/tests/printer/all.T 2 additions, 2 deletionstestsuite/tests/printer/all.T
- utils/check-exact/ExactPrint.hs 41 additions, 13 deletionsutils/check-exact/ExactPrint.hs
- utils/check-exact/Main.hs 1 addition, 1 deletionutils/check-exact/Main.hs
Loading
Please register or sign in to comment