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

git at git.haskell.org git at git.haskell.org
Fri Nov 23 17:34:36 UTC 2018


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

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

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

commit f2fe11ad1ff6104fb7013494a55d9ab0627c16f9
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


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

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


More information about the ghc-commits mailing list