[commit: ghc] wip/rae: Fix #11313. (550353d)

git at git.haskell.org git at git.haskell.org
Tue Feb 16 20:41:45 UTC 2016


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

On branch  : wip/rae
Link       : http://ghc.haskell.org/trac/ghc/changeset/550353d306e32553b19d2b0f882fdc832d2ca357/ghc

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

commit 550353d306e32553b19d2b0f882fdc832d2ca357
Author: Richard Eisenberg <eir at cis.upenn.edu>
Date:   Wed Feb 10 09:38:09 2016 -0500

    Fix #11313.
    
    Previously, we looked through synonyms when counting arguments,
    but that's a bit silly.


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

550353d306e32553b19d2b0f882fdc832d2ca357
 compiler/typecheck/TcMType.hs                      |  5 +-
 compiler/typecheck/TcTyClsDecls.hs                 | 55 ++++++++++++----------
 compiler/types/TyCon.hs                            |  7 ++-
 compiler/types/Type.hs                             | 17 ++++++-
 testsuite/tests/typecheck/should_fail/T11313.hs    |  9 ++++
 .../tests/typecheck/should_fail/T11313.stderr      |  6 +++
 testsuite/tests/typecheck/should_fail/all.T        |  1 +
 7 files changed, 71 insertions(+), 29 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 550353d306e32553b19d2b0f882fdc832d2ca357


More information about the ghc-commits mailing list