EPA: fix span for empty \case(s)
In instance SDecide Nat where SZero %~ (SSucc _) = Disproved (\case) Ensure the span for the HsLam covers the full construct. Closes #24748
Showing
- compiler/GHC/Parser.y 2 additions, 2 deletionscompiler/GHC/Parser.y
- testsuite/tests/printer/Makefile 5 additions, 0 deletionstestsuite/tests/printer/Makefile
- testsuite/tests/printer/Test24748.hs 8 additions, 0 deletionstestsuite/tests/printer/Test24748.hs
- testsuite/tests/printer/all.T 1 addition, 0 deletionstestsuite/tests/printer/all.T
Loading
Please register or sign in to comment