[commit: ghc] wip/rae: Refactor tcInferApps. (ee3a6f3)

git at git.haskell.org git at git.haskell.org
Wed Jul 26 14:10:48 UTC 2017


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

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

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

commit ee3a6f31389b3d141fa8d19f5e229b019078a025
Author: Richard Eisenberg <rae at cs.brynmawr.edu>
Date:   Mon Jul 24 15:49:00 2017 -0400

    Refactor tcInferApps.
    
    With the changes caused by the fix to #12369, it is now clearer
    how to rewrite tcInferApps and friends. This should change no
    behavior, but it does clean up a nasty corner of the type checker.
    This commit also removes some uses of substTyUnchecked.


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

ee3a6f31389b3d141fa8d19f5e229b019078a025
 compiler/typecheck/TcHsType.hs | 115 +++++++++++++++++++++--------------------
 compiler/types/TyCoRep.hs      |  10 ++--
 compiler/types/Type.hs         |   2 +-
 3 files changed, 64 insertions(+), 63 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 ee3a6f31389b3d141fa8d19f5e229b019078a025


More information about the ghc-commits mailing list