[commit: ghc] ghc-8.6: Expand and implement Note [The tcType invariant] (634c07d)

git at git.haskell.org git at git.haskell.org
Thu Jul 12 20:05:34 UTC 2018


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

On branch  : ghc-8.6
Link       : http://ghc.haskell.org/trac/ghc/changeset/634c07dc2bd9b2be53d707d613df9e7100d543aa/ghc

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

commit 634c07dc2bd9b2be53d707d613df9e7100d543aa
Author: Richard Eisenberg <rae at cs.brynmawr.edu>
Date:   Thu Jul 5 19:51:59 2018 -0400

    Expand and implement Note [The tcType invariant]
    
    Read that note -- it's necessary to make sure that we can
    always call typeKind without panicking. As discussed on #14873,
    there were more checks and zonking to do, implemented here.
    There are no known bugs fixed by this patch, but there are likely
    unknown ones.
    
    (cherry picked from commit cf67e59a90bcaba657a9f5db3d5defb6289c274f)


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

634c07dc2bd9b2be53d707d613df9e7100d543aa
 compiler/typecheck/TcHsType.hs | 77 ++++++++++++++++++++++++++----------------
 1 file changed, 48 insertions(+), 29 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 634c07dc2bd9b2be53d707d613df9e7100d543aa


More information about the ghc-commits mailing list