[commit: ghc] master: Make candidateQTvs contain tyvar with zonked kinds (71e26a7)
git at git.haskell.org
git at git.haskell.org
Fri Dec 21 11:37:17 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/71e26a74da5e5e9a61163b87ab4d22de88a2d04a/ghc
>---------------------------------------------------------------
commit 71e26a74da5e5e9a61163b87ab4d22de88a2d04a
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Fri Dec 21 11:11:31 2018 +0000
Make candidateQTvs contain tyvar with zonked kinds
candidateQTyVars was failing to return fully-zonked
tyvars, and that made things fall over chaotically
when we try to sort them into a well-scoped telescope.
Result: Trac #15795
So I made candidateQTvs guarantee to have fully-zonked
tyvars (i.e. with zonked kinds). That's a bit annoying
but not really difficult.
>---------------------------------------------------------------
71e26a74da5e5e9a61163b87ab4d22de88a2d04a
compiler/typecheck/TcMType.hs | 150 +++++++++++++++++++----------------
testsuite/tests/polykinds/T15795.hs | 15 ++++
testsuite/tests/polykinds/T15795a.hs | 9 +++
testsuite/tests/polykinds/all.T | 3 +
4 files changed, 109 insertions(+), 68 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 71e26a74da5e5e9a61163b87ab4d22de88a2d04a
More information about the ghc-commits
mailing list