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

git at git.haskell.org git at git.haskell.org
Mon May 26 14:25:55 UTC 2014


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

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

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

commit b1436f55da2b0e005ac09be6651a2c4d934027ec
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Mon May 26 15:25:30 2014 +0100

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


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

b1436f55da2b0e005ac09be6651a2c4d934027ec
 compiler/typecheck/TcDeriv.lhs                     | 26 +++++++---------------
 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, 29 insertions(+), 34 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 b1436f55da2b0e005ac09be6651a2c4d934027ec


More information about the ghc-commits mailing list