[commit: ghc] wip/T15809: Combine kcImplicitTKBndrs and tcImplicitTKBndrs (9ed634c)

git at git.haskell.org git at git.haskell.org
Mon Nov 12 08:55:05 UTC 2018


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

On branch  : wip/T15809
Link       : http://ghc.haskell.org/trac/ghc/changeset/9ed634ce6e1c5996217b7c8d81e638e1b9a6e231/ghc

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

commit 9ed634ce6e1c5996217b7c8d81e638e1b9a6e231
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Mon Nov 12 08:30:33 2018 +0000

    Combine kcImplicitTKBndrs and tcImplicitTKBndrs
    
    Based on a conversation with Richard on Friday, this patch
    
    * Abolishes the distinction between kcImplicitTKBndrs and
      tcImplicitTKBndrs; now it is bindImplicitTKBndrs
    
    * Same for kc/tcExplicitTKBndrs
    
    * tcImplicitTKBndrs no longer does a solveLocalEqualities
      and sort; the caller does that
    
    Much nicer.
    
    Not quite working yet though


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

9ed634ce6e1c5996217b7c8d81e638e1b9a6e231
 compiler/typecheck/TcBackpack.hs                   |   2 +-
 compiler/typecheck/TcDerivInfer.hs                 |   2 +-
 compiler/typecheck/TcHsType.hs                     | 238 +++++++++------------
 compiler/typecheck/TcInstDcls.hs                   |   2 +-
 compiler/typecheck/TcRnMonad.hs                    |   4 +-
 compiler/typecheck/TcRules.hs                      |  34 ++-
 compiler/typecheck/TcSMonad.hs                     |   4 +-
 compiler/typecheck/TcSigs.hs                       |  46 ++--
 compiler/typecheck/TcSimplify.hs                   |  18 +-
 compiler/typecheck/TcSplice.hs                     |   4 +-
 compiler/typecheck/TcTyClsDecls.hs                 | 205 +++++++++++-------
 compiler/typecheck/TcUnify.hs                      |  33 +--
 testsuite/tests/dependent/should_compile/T13910.hs |  10 +-
 .../tests/indexed-types/should_compile/T12369.hs   |  10 +
 testsuite/tests/indexed-types/should_fail/T7938.hs |   6 +-
 15 files changed, 331 insertions(+), 287 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 9ed634ce6e1c5996217b7c8d81e638e1b9a6e231


More information about the ghc-commits mailing list