[commit: ghc] wip/no-telescope-tvs: Remove the incredibly hairy splitTelescopeTvs. (c41cf12)
git at git.haskell.org
git at git.haskell.org
Tue Apr 26 16:30:23 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/no-telescope-tvs
Link : http://ghc.haskell.org/trac/ghc/changeset/c41cf12341c55706adf72d377193a08a54f09885/ghc
>---------------------------------------------------------------
commit c41cf12341c55706adf72d377193a08a54f09885
Author: Richard Eisenberg <eir at cis.upenn.edu>
Date: Tue Apr 26 10:50:33 2016 -0400
Remove the incredibly hairy splitTelescopeTvs.
This patch removes splitTelescopeTvs by adding information about
scoped type variables to TcTyCon. Vast simplification!
This also fixes #11821 by bringing only unzonked vars into scope.
>---------------------------------------------------------------
c41cf12341c55706adf72d377193a08a54f09885
compiler/typecheck/TcHsType.hs | 363 +++++++-----------------------
compiler/typecheck/TcMType.hs | 10 +-
compiler/typecheck/TcTyClsDecls.hs | 95 ++++----
compiler/types/TyCon.hs | 63 +++++-
testsuite/tests/ghci/scripts/T7873.stderr | 1 +
testsuite/tests/polykinds/T11821.hs | 31 +++
testsuite/tests/polykinds/all.T | 1 +
7 files changed, 217 insertions(+), 347 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 c41cf12341c55706adf72d377193a08a54f09885
More information about the ghc-commits
mailing list