Require PatternSynonyms language flag when encountering a use of pattern synonym
(#8961) (cherry picked from commit 8f831ec5)
Showing
- compiler/typecheck/TcPat.lhs 3 additions, 5 deletionscompiler/typecheck/TcPat.lhs
- testsuite/tests/patsyn/should_compile/all.T 1 addition, 0 deletionstestsuite/tests/patsyn/should_compile/all.T
- testsuite/tests/patsyn/should_compile/export.hs 4 additions, 0 deletionstestsuite/tests/patsyn/should_compile/export.hs
- testsuite/tests/patsyn/should_fail/T8961.hs 7 additions, 0 deletionstestsuite/tests/patsyn/should_fail/T8961.hs
- testsuite/tests/patsyn/should_fail/T8961.stderr 7 additions, 0 deletionstestsuite/tests/patsyn/should_fail/T8961.stderr
- testsuite/tests/patsyn/should_fail/T8961a.hs 4 additions, 0 deletionstestsuite/tests/patsyn/should_fail/T8961a.hs
- testsuite/tests/patsyn/should_fail/all.T 1 addition, 0 deletionstestsuite/tests/patsyn/should_fail/all.T
Loading
Please register or sign in to comment