[commit: ghc] master: Expand and implement Note [The tcType invariant] (cf67e59)

git at git.haskell.org git at git.haskell.org
Tue Jul 10 23:55:39 UTC 2018


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/cf67e59a90bcaba657a9f5db3d5defb6289c274f/ghc

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

commit cf67e59a90bcaba657a9f5db3d5defb6289c274f
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.


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

cf67e59a90bcaba657a9f5db3d5defb6289c274f
 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 cf67e59a90bcaba657a9f5db3d5defb6289c274f


More information about the ghc-commits mailing list