[commit: ghc] master: Fixed error messages for RecursiveDo (#8501) (5856c56)

git at git.haskell.org git at git.haskell.org
Wed Mar 29 20:53:38 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/5856c564dff79a5c2b6a92b1c6c350798b538da3/ghc

>---------------------------------------------------------------

commit 5856c564dff79a5c2b6a92b1c6c350798b538da3
Author: Rupert Horlick <ruperthorlick at gmail.com>
Date:   Wed Mar 29 15:26:11 2017 -0400

    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 at 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


>---------------------------------------------------------------

5856c564dff79a5c2b6a92b1c6c350798b538da3
 compiler/parser/Lexer.x                            |  10 +-
 compiler/parser/RdrHsSyn.hs                        |   7 +-
 compiler/rename/RnEnv.hs                           |  10 +-
 compiler/utils/StringBuffer.hs                     |  15 +
 testsuite/tests/ghci/prog011/prog011.stderr        |   2 +-
 testsuite/tests/ghci/scripts/ghci014.stdout        | 982 ---------------------
 testsuite/tests/mdo/should_fail/mdofail005.stderr  |   4 +-
 testsuite/tests/parser/should_fail/T8501a.hs       |  27 +
 testsuite/tests/parser/should_fail/T8501a.stderr   |   4 +
 testsuite/tests/parser/should_fail/T8501b.hs       |  10 +
 testsuite/tests/parser/should_fail/T8501b.stderr   |   4 +
 testsuite/tests/parser/should_fail/T8501c.hs       |  15 +
 testsuite/tests/parser/should_fail/T8501c.stderr   |   6 +
 testsuite/tests/parser/should_fail/all.T           |   3 +
 .../tests/parser/should_fail/readFail040.stderr    |   4 +-
 15 files changed, 111 insertions(+), 992 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 5856c564dff79a5c2b6a92b1c6c350798b538da3


More information about the ghc-commits mailing list