[commit: ghc] master: Unify, rather than match, in GND processing (fixes Trac #8865) (f521a26)

git at git.haskell.org git at git.haskell.org
Mon Mar 10 11:11:41 UTC 2014


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

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

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

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


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

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


More information about the ghc-commits mailing list