[commit: ghc] master: Simplify the kind checking for type/class decls (aa03ad8)

git at git.haskell.org git at git.haskell.org
Tue May 8 14:45:47 UTC 2018


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

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

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

commit aa03ad885373f82c008ae7d75206f5305c395b61
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Fri May 4 16:31:55 2018 +0100

    Simplify the kind checking for type/class decls
    
    This patch deletes quite a bit of code,
    AND fixes Trac #15116.


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

aa03ad885373f82c008ae7d75206f5305c395b61
 compiler/typecheck/TcTyClsDecls.hs                 | 232 ++++++++++++---------
 testsuite/tests/polykinds/T15116.hs                |   9 +
 testsuite/tests/polykinds/T15116.stderr            |   7 +
 testsuite/tests/polykinds/T15116a.hs               |   6 +
 testsuite/tests/polykinds/T15116a.stderr           |   7 +
 testsuite/tests/polykinds/all.T                    |   2 +
 .../tests/typecheck/should_fail/T14904a.stderr     |   5 +
 7 files changed, 165 insertions(+), 103 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 aa03ad885373f82c008ae7d75206f5305c395b61


More information about the ghc-commits mailing list