summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2012-05-19 13:41:35 +0100
committerIan Lynagh <igloo@earth.li>2012-05-19 13:41:35 +0100
commit64f085a1879819513712c0798b58247824ff5427 (patch)
tree2cfe3c1488b0801a71e41d04c64831878ddc0ce4 /testsuite/tests/typecheck/should_fail
parentb70dd33ffa69b3d324411917596db73ba7058132 (diff)
downloadhaskell-64f085a1879819513712c0798b58247824ff5427.tar.gz
Fix tests to run without mtl
Diffstat (limited to 'testsuite/tests/typecheck/should_fail')
-rw-r--r--testsuite/tests/typecheck/should_fail/T5300.hs2
-rw-r--r--testsuite/tests/typecheck/should_fail/T5691.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T5300.hs b/testsuite/tests/typecheck/should_fail/T5300.hs
index d052d84659..b15713d290 100644
--- a/testsuite/tests/typecheck/should_fail/T5300.hs
+++ b/testsuite/tests/typecheck/should_fail/T5300.hs
@@ -1,7 +1,7 @@
{-# LANGUAGE FunctionalDependencies, MultiParamTypeClasses #-}
module T5300 where
-import Control.Monad.State (StateT)
+import Control.Monad.Trans.State (StateT)
class C1 a b c | a -> b
class C2 a b c
diff --git a/testsuite/tests/typecheck/should_fail/T5691.hs b/testsuite/tests/typecheck/should_fail/T5691.hs
index c63ba7b8d2..49fc776eac 100644
--- a/testsuite/tests/typecheck/should_fail/T5691.hs
+++ b/testsuite/tests/typecheck/should_fail/T5691.hs
@@ -4,7 +4,7 @@ module GHCBug where
import Control.Applicative as Ap
import Control.Monad (MonadPlus, mplus, mzero)
-import Control.Monad.Identity (Identity, runIdentity)
+import Data.Functor.Identity (Identity, runIdentity)
newtype PrintRuleInterp v = MkPRI { printRule_ :: Int -> String }
class Test p where