Location for tuple section pattern error (#19504)
This fixes a regression that led to loss of location information in error messages about the use of tuple sections in patterns.
Showing
- compiler/GHC/Parser/PostProcess.hs 3 additions, 1 deletioncompiler/GHC/Parser/PostProcess.hs
- testsuite/tests/parser/should_fail/T19504.hs 3 additions, 0 deletionstestsuite/tests/parser/should_fail/T19504.hs
- testsuite/tests/parser/should_fail/T19504.stderr 2 additions, 0 deletionstestsuite/tests/parser/should_fail/T19504.stderr
- testsuite/tests/parser/should_fail/all.T 1 addition, 0 deletionstestsuite/tests/parser/should_fail/all.T
Loading
Please register or sign in to comment