diff options
Diffstat (limited to 'testsuite/tests/module')
-rw-r--r-- | testsuite/tests/module/mod133.hs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/testsuite/tests/module/mod133.hs b/testsuite/tests/module/mod133.hs index f56ec1d02d..f947a9aa95 100644 --- a/testsuite/tests/module/mod133.hs +++ b/testsuite/tests/module/mod133.hs @@ -1,4 +1,4 @@ --- Control.Monad.Except re-exports Control.Monad.Fix. +-- Control.Monad re-exports Control.Monad.Fail. -- This test checks that the subordinate-name test -- for a class operation (when renaming the instance decl) -- works correctly. @@ -6,7 +6,6 @@ module ShouldCompile where import Control.Monad -import Control.Monad.Except data Foo a = Foo a @@ -21,5 +20,5 @@ instance Monad Foo where return = pure (Foo a) >>= k = k a -instance MonadFix Foo where - mfix = undefined +instance MonadFail Foo where + fail = undefined |