[commit: ghc] master: Refactor tcInferApps. (791947d)
git at git.haskell.org
git at git.haskell.org
Thu Jul 27 11:50:01 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/791947db6db32ef7d4772a821a0823e558e3c05b/ghc
>---------------------------------------------------------------
commit 791947db6db32ef7d4772a821a0823e558e3c05b
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.
>---------------------------------------------------------------
791947db6db32ef7d4772a821a0823e558e3c05b
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 791947db6db32ef7d4772a821a0823e558e3c05b
More information about the ghc-commits
mailing list