[commit: ghc] master: Remove the incredibly hairy splitTelescopeTvs. (c5919f7)
git at git.haskell.org
git at git.haskell.org
Fri Apr 29 12:59:14 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/c5919f75afab9dd6f0a4a2670402024cece5da57/ghc
>---------------------------------------------------------------
commit c5919f75afab9dd6f0a4a2670402024cece5da57
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.
Test case: polykinds/T11821
>---------------------------------------------------------------
c5919f75afab9dd6f0a4a2670402024cece5da57
compiler/typecheck/TcHsType.hs | 411 ++++++++----------------------
compiler/typecheck/TcMType.hs | 10 +-
compiler/typecheck/TcTyClsDecls.hs | 107 ++++----
compiler/typecheck/TcValidity.hs | 1 -
compiler/types/TyCon.hs | 63 ++++-
testsuite/tests/ghci/scripts/T7873.stderr | 9 +-
testsuite/tests/polykinds/T11821.hs | 31 +++
testsuite/tests/polykinds/all.T | 1 +
8 files changed, 264 insertions(+), 369 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 c5919f75afab9dd6f0a4a2670402024cece5da57
More information about the ghc-commits
mailing list