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

git at git.haskell.org git at git.haskell.org
Mon Nov 26 17:49:07 UTC 2018


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

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

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

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


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

7c61052d1162626382f234612541da187cce694f
 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                 | 169 ++++++++-------
 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, 290 insertions(+), 292 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 7c61052d1162626382f234612541da187cce694f


More information about the ghc-commits mailing list