summaryrefslogtreecommitdiff
path: root/testsuite/tests/mdo
diff options
context:
space:
mode:
authorRupert Horlick <ruperthorlick@gmail.com>2017-03-29 15:26:11 -0400
committerBen Gamari <ben@smart-cactus.org>2017-03-29 16:07:52 -0400
commit5856c564dff79a5c2b6a92b1c6c350798b538da3 (patch)
treea7c0fa6aaf938524bafd003f659e4e40990eea27 /testsuite/tests/mdo
parentb04ded8fca8ee8b0cd9c7c055bc5dc61ef2be1fe (diff)
downloadhaskell-5856c564dff79a5c2b6a92b1c6c350798b538da3.tar.gz
Fixed error messages for RecursiveDo (#8501)
Changes in a few different places to catch several different types of error related to RecursiveDo Signed-off-by: Rupert Horlick <ruperthorlick@gmail.com> Test Plan: Three test cases, with further tests in comments Reviewers: austin, bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D3271
Diffstat (limited to 'testsuite/tests/mdo')
-rw-r--r--testsuite/tests/mdo/should_fail/mdofail005.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/mdo/should_fail/mdofail005.stderr b/testsuite/tests/mdo/should_fail/mdofail005.stderr
index 594fea2a19..0ebead149f 100644
--- a/testsuite/tests/mdo/should_fail/mdofail005.stderr
+++ b/testsuite/tests/mdo/should_fail/mdofail005.stderr
@@ -1,4 +1,4 @@
-mdofail005.hs:11:14:
+mdofail005.hs:11:14: error:
parse error on input ‘<-’
- Perhaps this statement should be within a 'do' block?
+ Perhaps you intended to use RecursiveDo