summaryrefslogtreecommitdiff
path: root/testsuite/tests/monadfail/MonadFailErrors.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/monadfail/MonadFailErrors.stderr')
-rw-r--r--testsuite/tests/monadfail/MonadFailErrors.stderr32
1 files changed, 16 insertions, 16 deletions
diff --git a/testsuite/tests/monadfail/MonadFailErrors.stderr b/testsuite/tests/monadfail/MonadFailErrors.stderr
index 84334b980b..1507984d14 100644
--- a/testsuite/tests/monadfail/MonadFailErrors.stderr
+++ b/testsuite/tests/monadfail/MonadFailErrors.stderr
@@ -13,12 +13,12 @@ MonadFailErrors.hs:16:5: error:
general :: Monad m => m a
• In a stmt of a 'do' block: Just x <- undefined
In the expression:
- do { Just x <- undefined;
- undefined }
+ do Just x <- undefined
+ undefined
In an equation for ‘general’:
general
- = do { Just x <- undefined;
- undefined }
+ = do Just x <- undefined
+ undefined
MonadFailErrors.hs:30:5: error:
• No instance for (MonadFail Identity)
@@ -26,12 +26,12 @@ MonadFailErrors.hs:30:5: error:
with the failable pattern ‘Just x’
• In a stmt of a 'do' block: Just x <- undefined
In the expression:
- do { Just x <- undefined;
- undefined }
+ do Just x <- undefined
+ undefined
In an equation for ‘identity’:
identity
- = do { Just x <- undefined;
- undefined }
+ = do Just x <- undefined
+ undefined
MonadFailErrors.hs:44:5: error:
• No instance for (MonadFail (ST s))
@@ -39,12 +39,12 @@ MonadFailErrors.hs:44:5: error:
with the failable pattern ‘Just x’
• In a stmt of a 'do' block: Just x <- undefined
In the expression:
- do { Just x <- undefined;
- undefined }
+ do Just x <- undefined
+ undefined
In an equation for ‘st’:
st
- = do { Just x <- undefined;
- undefined }
+ = do Just x <- undefined
+ undefined
MonadFailErrors.hs:51:5: error:
• No instance for (MonadFail ((->) r))
@@ -52,9 +52,9 @@ MonadFailErrors.hs:51:5: error:
with the failable pattern ‘Just x’
• In a stmt of a 'do' block: Just x <- undefined
In the expression:
- do { Just x <- undefined;
- undefined }
+ do Just x <- undefined
+ undefined
In an equation for ‘reader’:
reader
- = do { Just x <- undefined;
- undefined }
+ = do Just x <- undefined
+ undefined