[commit: ghc] master: ghc generates more user-friendly error messages (bc2289e)

git at git.haskell.org git at git.haskell.org
Thu Nov 20 01:49:45 UTC 2014


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

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

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

commit bc2289e13d9586be087bd8136943dc35a0130c88
Author: Mike Izbicki <mike at izbicki.me>
Date:   Wed Nov 19 18:29:37 2014 -0600

    ghc generates more user-friendly error messages
    
    Test Plan: Compiled ghc fine.  Opened ghci and fed it invalid code.  It gave the improved error messages in response.
    
    Reviewers: austin
    
    Subscribers: thomie, simonpj, spacekitteh, rwbarton, simonmar, carter
    
    Differential Revision: https://phabricator.haskell.org/D201


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

bc2289e13d9586be087bd8136943dc35a0130c88
 compiler/parser/Lexer.x                            |  2 ++
 compiler/parser/Parser.y                           | 39 ++++++++++++++++++++++
 compiler/typecheck/TcErrors.lhs                    | 14 +++++++-
 .../tests/annotations/should_fail/annfail08.stderr |  5 ++-
 .../tests/deriving/should_fail/drvfail007.stderr   |  1 +
 .../tests/ghci.debugger/scripts/break003.stderr    |  4 ++-
 testsuite/tests/ghci/scripts/Defer02.stderr        |  8 +++--
 testsuite/tests/mdo/should_fail/mdofail005.stderr  |  4 ++-
 .../parser/should_fail/ParserNoLambdaCase.stderr   |  2 +-
 .../tests/parser/should_fail/readFail020.stderr    |  3 +-
 .../tests/parser/should_fail/readFail040.stderr    |  4 ++-
 testsuite/tests/rebindable/rebindable6.stderr      |  3 ++
 .../tests/typecheck/should_fail/T2846b.stderr      |  4 ++-
 13 files changed, 83 insertions(+), 10 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 bc2289e13d9586be087bd8136943dc35a0130c88


More information about the ghc-commits mailing list