[commit: ghc] master: Fix superclass generation in an instance (646866f)

git at git.haskell.org git at git.haskell.org
Wed Apr 22 13:04:57 UTC 2015


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

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

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

commit 646866ff318d6eb8beeed98032644182dd9d997b
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Tue Apr 21 13:38:32 2015 +0100

    Fix superclass generation in an instance
    
    More fallout from the silent-superclass refactoring; nothing drastic.
    Fixes Trac #10335.


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

646866ff318d6eb8beeed98032644182dd9d997b
 compiler/deSugar/DsBinds.hs                        |  7 ++--
 compiler/typecheck/TcCanonical.hs                  |  3 +-
 compiler/typecheck/TcEvidence.hs                   | 20 ++++++++---
 compiler/typecheck/TcHsSyn.hs                      |  4 ++-
 compiler/typecheck/TcInstDcls.hs                   | 40 +++++++++++-----------
 testsuite/tests/typecheck/should_compile/T10335.hs | 16 +++++++++
 testsuite/tests/typecheck/should_compile/all.T     |  1 +
 7 files changed, 61 insertions(+), 30 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 646866ff318d6eb8beeed98032644182dd9d997b


More information about the ghc-commits mailing list