diff options
Diffstat (limited to 'testsuite/tests/monadfail')
-rw-r--r-- | testsuite/tests/monadfail/MonadFailErrors.stderr | 32 | ||||
-rw-r--r-- | testsuite/tests/monadfail/MonadFailWarnings.stderr | 32 |
2 files changed, 32 insertions, 32 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 diff --git a/testsuite/tests/monadfail/MonadFailWarnings.stderr b/testsuite/tests/monadfail/MonadFailWarnings.stderr index 544f14aeb4..ac16d6cd9e 100644 --- a/testsuite/tests/monadfail/MonadFailWarnings.stderr +++ b/testsuite/tests/monadfail/MonadFailWarnings.stderr @@ -13,12 +13,12 @@ MonadFailWarnings.hs:19:5: warning: [-Wmissing-monadfail-instances (in -Wcompat) 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 MonadFailWarnings.hs:35:5: warning: [-Wmissing-monadfail-instances (in -Wcompat)] • No instance for (MonadFail Identity) @@ -26,12 +26,12 @@ MonadFailWarnings.hs:35:5: warning: [-Wmissing-monadfail-instances (in -Wcompat) (this will become an error in a future GHC release) • 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 MonadFailWarnings.hs:51:5: warning: [-Wmissing-monadfail-instances (in -Wcompat)] • No instance for (MonadFail (ST s)) @@ -39,12 +39,12 @@ MonadFailWarnings.hs:51:5: warning: [-Wmissing-monadfail-instances (in -Wcompat) (this will become an error in a future GHC release) • 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 MonadFailWarnings.hs:59:5: warning: [-Wmissing-monadfail-instances (in -Wcompat)] • No instance for (MonadFail ((->) r)) @@ -52,9 +52,9 @@ MonadFailWarnings.hs:59:5: warning: [-Wmissing-monadfail-instances (in -Wcompat) (this will become an error in a future GHC release) • 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 |