[commit: ghc] wip/T14880: Change tyCoVarsOfType to close over kinds at end (6d4cb46)

git at git.haskell.org git at git.haskell.org
Fri Jul 27 06:40:25 UTC 2018


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

On branch  : wip/T14880
Link       : http://ghc.haskell.org/trac/ghc/changeset/6d4cb46331bac13a8b56cf636534257c39cb8532/ghc

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

commit 6d4cb46331bac13a8b56cf636534257c39cb8532
Author: Richard Eisenberg <rae at cs.brynmawr.edu>
Date:   Wed May 30 16:50:09 2018 -0400

    Change tyCoVarsOfType to close over kinds at end
    
    This change improved both efficiency and correctness.
    See new text in Note [Free variables of types] in TyCoRep.
    
    This was suggested on #14880, though there is no known program
    which causes the correctness bug.


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

6d4cb46331bac13a8b56cf636534257c39cb8532
 compiler/typecheck/TcTyDecls.hs |   3 +-
 compiler/types/TyCoRep.hs       | 193 ++++++++++++++++++----------------------
 compiler/types/Type.hs          |   2 +-
 3 files changed, 92 insertions(+), 106 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 6d4cb46331bac13a8b56cf636534257c39cb8532


More information about the ghc-commits mailing list