summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanielRrr <daniel.rogozin@serokell.io>2021-11-03 20:51:12 +0300
committerDanielRrr <daniel.rogozin@serokell.io>2022-07-23 15:35:47 +0300
commita2c0d7b1d714e0b34d0847c7dc443d525821fc06 (patch)
treee102d2719c51173b4a475f88187e086843e9f411
parente12ef23260bf50cc90db434610273e79db6b3fdd (diff)
downloadhaskell-a2c0d7b1d714e0b34d0847c7dc443d525821fc06.tar.gz
parser and renamer checkpoint
-rw-r--r--compiler/GHC/Hs/Pat.hs1
-rw-r--r--testsuite/tests/parser/should_fail/all.T1
2 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Hs/Pat.hs b/compiler/GHC/Hs/Pat.hs
index e090054827..8368107919 100644
--- a/compiler/GHC/Hs/Pat.hs
+++ b/compiler/GHC/Hs/Pat.hs
@@ -508,6 +508,7 @@ patterns are treated specially, of course.
The 1.3 report defines what ``irrefutable'' and ``failure-free'' patterns are.
-}
+
isBangedLPat :: LPat (GhcPass p) -> Bool
isBangedLPat = isBangedPat . unLoc
diff --git a/testsuite/tests/parser/should_fail/all.T b/testsuite/tests/parser/should_fail/all.T
index 786b9829fe..acb045c3e8 100644
--- a/testsuite/tests/parser/should_fail/all.T
+++ b/testsuite/tests/parser/should_fail/all.T
@@ -170,7 +170,6 @@ test('T18130Fail', normal, compile_fail, [''])
test('T18251a', normal, compile_fail, [''])
test('T18251b', normal, compile_fail, [''])
test('T18251c', normal, compile_fail, [''])
-test('T18251d', normal, compile_fail, [''])
test('T18251e', normal, compile_fail, [''])
test('T18251f', normal, compile_fail, [''])
test('T12446', normal, compile_fail, [''])