[commit: ghc] master: Fix #11716. (3fe87aa)
git at git.haskell.org
git at git.haskell.org
Thu Mar 17 14:05:23 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/3fe87aa00ac05f1abea22ea58d51ecc1e3073d19/ghc
>---------------------------------------------------------------
commit 3fe87aa00ac05f1abea22ea58d51ecc1e3073d19
Author: Richard Eisenberg <eir at cis.upenn.edu>
Date: Wed Mar 16 15:20:32 2016 -0400
Fix #11716.
There were several smallish bugs here:
- We had too small an InScopeSet when rejigging GADT return types.
- When adding the extra_tvs with a datatype kind signature, we
were sometimes changing Uniques of an explicitly bound kind var.
- Using coercionKind in the flattener got the wrong visibility
for a binder. Now we just zonk to get what we need.
Test case: dependent/should_compile/RaeJobTalk
>---------------------------------------------------------------
3fe87aa00ac05f1abea22ea58d51ecc1e3073d19
compiler/typecheck/TcCanonical.hs | 4 +-
compiler/typecheck/TcFlatten.hs | 4 +-
compiler/typecheck/TcHsType.hs | 12 +-
compiler/typecheck/TcPat.hs | 9 +-
compiler/typecheck/TcTyClsDecls.hs | 7 +-
compiler/typecheck/TcType.hs | 1 +
.../tests/dependent/should_compile/RaeJobTalk.hs | 697 +++++++++++++++++++++
testsuite/tests/dependent/should_compile/all.T | 1 +
8 files changed, 723 insertions(+), 12 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 3fe87aa00ac05f1abea22ea58d51ecc1e3073d19
More information about the ghc-commits
mailing list