summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck
diff options
context:
space:
mode:
authorKrzysztof Gogolewski <krzysztof.gogolewski@tweag.io>2021-02-07 21:52:49 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-02-13 21:31:59 -0500
commitdcc4b2de37f73a05a106b78bae0b99eb9715cf01 (patch)
tree8a5c8de59fd486213f326892e31e788f87f067b1 /testsuite/tests/typecheck
parent18e5338671518d060006010ebb796df265cb52e3 (diff)
downloadhaskell-dcc4b2de37f73a05a106b78bae0b99eb9715cf01.tar.gz
Remove deprecated -XGenerics and -XMonoPatBinds
They have no effect since 2011 (GHC 7.2/7.4), commits cb698570b2b and 49dbe60558.
Diffstat (limited to 'testsuite/tests/typecheck')
-rw-r--r--testsuite/tests/typecheck/should_compile/T4498.hs2
-rw-r--r--testsuite/tests/typecheck/should_compile/tc189.hs3
2 files changed, 1 insertions, 4 deletions
diff --git a/testsuite/tests/typecheck/should_compile/T4498.hs b/testsuite/tests/typecheck/should_compile/T4498.hs
index fb8c120601..8ef6e23823 100644
--- a/testsuite/tests/typecheck/should_compile/T4498.hs
+++ b/testsuite/tests/typecheck/should_compile/T4498.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE BangPatterns, NoMonoLocalBinds, NoMonoPatBinds #-}
+{-# LANGUAGE BangPatterns, NoMonoLocalBinds #-}
module T4498 where
diff --git a/testsuite/tests/typecheck/should_compile/tc189.hs b/testsuite/tests/typecheck/should_compile/tc189.hs
index 9205a23563..cafba59486 100644
--- a/testsuite/tests/typecheck/should_compile/tc189.hs
+++ b/testsuite/tests/typecheck/should_compile/tc189.hs
@@ -1,6 +1,3 @@
-{-# LANGUAGE NoMonoPatBinds #-}
- -- Disable experimental monomorphic pattern bindings
-
-- Nasty test for type signatures
-- In both groups of declarations below, the type variables 'a' and 'b'
-- end up being unified together.