[commit: ghc] ghc-7.8: Unify, rather than match, in GND processing (fixes Trac #8865) (08fede0)

git at git.haskell.org git at git.haskell.org
Mon Mar 17 15:36:50 UTC 2014


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

On branch  : ghc-7.8
Link       : http://ghc.haskell.org/trac/ghc/changeset/08fede0fe0ff3af4b59b965b172403af0146a460/ghc

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

commit 08fede0fe0ff3af4b59b965b172403af0146a460
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Mon Mar 10 11:10:21 2014 +0000

    Unify, rather than match, in GND processing (fixes Trac #8865)
    
    Yet another small way in which polymorphic kinds needs a bit of care
    See Note [Unify kinds in deriving] in TcDeriv
    
    (cherry picked from commit f521a26cb741409011137115d17232df901c3c94)
    
    Conflicts:
    	testsuite/tests/deriving/should_compile/all.T


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

08fede0fe0ff3af4b59b965b172403af0146a460
 compiler/ghci/RtClosureInspect.hs                |    3 +-
 compiler/typecheck/TcDeriv.lhs                   |   49 ++++++++++++++--------
 compiler/types/Unify.lhs                         |   21 ++++++----
 testsuite/tests/deriving/should_compile/T8865.hs |   11 +++++
 testsuite/tests/deriving/should_compile/all.T    |    1 +
 5 files changed, 59 insertions(+), 26 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 08fede0fe0ff3af4b59b965b172403af0146a460


More information about the ghc-commits mailing list