diff options
Diffstat (limited to 'testsuite/tests/parser/should_fail/NoBlockArgumentsFail.stderr')
-rw-r--r-- | testsuite/tests/parser/should_fail/NoBlockArgumentsFail.stderr | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuite/tests/parser/should_fail/NoBlockArgumentsFail.stderr b/testsuite/tests/parser/should_fail/NoBlockArgumentsFail.stderr index 813271bdb9..bdb3301dea 100644 --- a/testsuite/tests/parser/should_fail/NoBlockArgumentsFail.stderr +++ b/testsuite/tests/parser/should_fail/NoBlockArgumentsFail.stderr @@ -2,5 +2,6 @@ NoBlockArgumentsFail.hs:6:17: error: Unexpected do block in function application: do return () - You could write it with parentheses - Or perhaps you meant to enable BlockArguments? + Suggested fixes: + Use parentheses. + Perhaps you intended to use BlockArguments |