[commit: ghc] ghc-8.0: Fix #11716. (6a670e2)

git at git.haskell.org git at git.haskell.org
Wed Mar 23 16:37:26 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/6a670e2c64ba43f9ce65b52f39ea0c0971328c9e/ghc

>---------------------------------------------------------------

commit 6a670e2c64ba43f9ce65b52f39ea0c0971328c9e
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
    
    (cherry picked from commit 3fe87aa00ac05f1abea22ea58d51ecc1e3073d19)


>---------------------------------------------------------------

6a670e2c64ba43f9ce65b52f39ea0c0971328c9e
 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     |   6 +-
 8 files changed, 727 insertions(+), 13 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 6a670e2c64ba43f9ce65b52f39ea0c0971328c9e


More information about the ghc-commits mailing list