[commit: ghc] ghc-7.8: Fix yet another bug in 'deriving' for polykinded classes (Trac #7269) (bb3fdb4)

git at git.haskell.org git at git.haskell.org
Wed Jul 2 18:27:50 UTC 2014


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

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

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

commit bb3fdb4eb3a9cdf644e4f117e1e9916a6b4d7f79
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Wed Jul 2 12:47:11 2014 -0500

    Fix yet another bug in 'deriving' for polykinded classes (Trac #7269)
    
    This patch makes the code a bit simpler if anything.
    
    (cherry picked from commit b1436f55da2b0e005ac09be6651a2c4d934027ec)


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

bb3fdb4eb3a9cdf644e4f117e1e9916a6b4d7f79
 compiler/typecheck/TcDeriv.lhs                     | 24 +++++++---------------
 compiler/typecheck/TcHsType.lhs                    | 24 +++++++++++++---------
 testsuite/tests/deriving/should_compile/all.T      |  1 +
 testsuite/tests/deriving/should_fail/T7959.stderr  |  2 +-
 .../tests/deriving/should_fail/drvfail005.stderr   |  4 ++--
 .../tests/deriving/should_fail/drvfail009.stderr   |  6 +++---
 6 files changed, 28 insertions(+), 33 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 bb3fdb4eb3a9cdf644e4f117e1e9916a6b4d7f79


More information about the ghc-commits mailing list