diff options
Diffstat (limited to 'testsuite/tests/rebindable/rebindable6.stderr')
-rw-r--r-- | testsuite/tests/rebindable/rebindable6.stderr | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/testsuite/tests/rebindable/rebindable6.stderr b/testsuite/tests/rebindable/rebindable6.stderr index 712724d28f..342ee53de5 100644 --- a/testsuite/tests/rebindable/rebindable6.stderr +++ b/testsuite/tests/rebindable/rebindable6.stderr @@ -15,14 +15,14 @@ rebindable6.hs:110:17: error: -- Defined at rebindable6.hs:56:18 • In a stmt of a 'do' block: f In the expression: - do { f; - Just (b :: b) <- g; - return b } + do f + Just (b :: b) <- g + return b In an equation for ‘test_do’: test_do f g - = do { f; - Just (b :: b) <- g; - return b } + = do f + Just (b :: b) <- g + return b rebindable6.hs:111:17: error: • Ambiguous type variables ‘p0’, ‘t0’ arising from a do statement @@ -39,14 +39,14 @@ rebindable6.hs:111:17: error: -- Defined at rebindable6.hs:51:18 • In a stmt of a 'do' block: Just (b :: b) <- g In the expression: - do { f; - Just (b :: b) <- g; - return b } + do f + Just (b :: b) <- g + return b In an equation for ‘test_do’: test_do f g - = do { f; - Just (b :: b) <- g; - return b } + = do f + Just (b :: b) <- g + return b rebindable6.hs:112:17: error: • Ambiguous type variable ‘p0’ arising from a use of ‘return’ @@ -62,11 +62,11 @@ rebindable6.hs:112:17: error: instance HasReturn (a -> IO a) -- Defined at rebindable6.hs:46:18 • In a stmt of a 'do' block: return b In the expression: - do { f; - Just (b :: b) <- g; - return b } + do f + Just (b :: b) <- g + return b In an equation for ‘test_do’: test_do f g - = do { f; - Just (b :: b) <- g; - return b } + = do f + Just (b :: b) <- g + return b |