[commit: ghc] wip/rae: Fix #9404 by removing tcInfExpr. (1e2002d)

git at git.haskell.org git at git.haskell.org
Wed Nov 12 18:28:34 UTC 2014


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

On branch  : wip/rae
Link       : http://ghc.haskell.org/trac/ghc/changeset/1e2002d8e89e3267e2c9c8d92235ee083a272657/ghc

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

commit 1e2002d8e89e3267e2c9c8d92235ee083a272657
Author: Richard Eisenberg <eir at cis.upenn.edu>
Date:   Mon Nov 10 21:27:58 2014 -0500

    Fix #9404 by removing tcInfExpr.
    
    See the ticket for more info about the new algorithm. This is a small
    simplification, unifying the treatment of type checking in a few
    similar situations.


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

1e2002d8e89e3267e2c9c8d92235ee083a272657
 compiler/typecheck/TcExpr.lhs                      | 32 +++------------
 compiler/typecheck/TcMType.lhs                     | 15 ++++---
 compiler/typecheck/TcType.lhs                      | 47 ++++++++++++++++++----
 compiler/typecheck/TcUnify.lhs                     | 25 +++++++++---
 compiler/utils/MonadUtils.hs                       |  6 +++
 .../{should_fail => should_compile}/T7220.hs       |  0
 testsuite/tests/typecheck/should_compile/all.T     |  5 ++-
 testsuite/tests/typecheck/should_fail/T7220.stderr |  9 -----
 testsuite/tests/typecheck/should_fail/all.T        |  1 -
 9 files changed, 79 insertions(+), 61 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 1e2002d8e89e3267e2c9c8d92235ee083a272657


More information about the ghc-commits mailing list