Adjust error message for trailing whitespace in as-pattern.
Fixes #22524
Showing
- compiler/GHC/Parser/Errors/Ppr.hs 2 additions, 1 deletioncompiler/GHC/Parser/Errors/Ppr.hs
- compiler/GHC/Parser/Lexer.x 16 additions, 1 deletioncompiler/GHC/Parser/Lexer.x
- testsuite/tests/diagnostic-codes/codes.stdout 0 additions, 1 deletiontestsuite/tests/diagnostic-codes/codes.stdout
- testsuite/tests/parser/should_fail/SuffixAtFail.hs 3 additions, 0 deletionstestsuite/tests/parser/should_fail/SuffixAtFail.hs
- testsuite/tests/parser/should_fail/SuffixAtFail.stderr 7 additions, 0 deletionstestsuite/tests/parser/should_fail/SuffixAtFail.stderr
- testsuite/tests/parser/should_fail/all.T 2 additions, 1 deletiontestsuite/tests/parser/should_fail/all.T
Loading
Please register or sign in to comment