diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T7851.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/T7851.stderr | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T7851.stderr b/testsuite/tests/typecheck/should_fail/T7851.stderr index 64148511e7..14efa7c7c9 100644 --- a/testsuite/tests/typecheck/should_fail/T7851.stderr +++ b/testsuite/tests/typecheck/should_fail/T7851.stderr @@ -1,8 +1,13 @@ -T7851.hs:5:10: - Couldn't match expected type ‘IO a0’ with actual type ‘a1 -> IO ()’ - Probable cause: ‘print’ is applied to too few arguments - In a stmt of a 'do' block: print - In the expression: - do { print; - print "Hello" } +T7851.hs:5:10: error: + • Couldn't match expected type ‘IO a0’ + with actual type ‘a1 -> IO ()’ + • Probable cause: ‘print’ is applied to too few arguments + In a stmt of a 'do' block: print + In the expression: + do { print; + print "Hello" } + In an equation for ‘bar’: + bar + = do { print; + print "Hello" } |