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

git at git.haskell.org git at git.haskell.org
Tue Nov 11 15:06:55 UTC 2014


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

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

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

commit 1a63e50377aba1f57cf2bed36bc11427302deae5
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.


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

1a63e50377aba1f57cf2bed36bc11427302deae5
 compiler/typecheck/TcExpr.lhs                      | 32 +++------------
 compiler/typecheck/TcMType.lhs                     | 15 ++++---
 compiler/typecheck/TcType.lhs                      | 47 ++++++++++++++++++----
 compiler/typecheck/TcUnify.lhs                     | 24 ++++++++---
 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, 78 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 1a63e50377aba1f57cf2bed36bc11427302deae5


More information about the ghc-commits mailing list