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

git at git.haskell.org git at git.haskell.org
Wed Feb 17 18:16:27 UTC 2016


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

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

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

commit a6152159c9f14fc9cf0e86caff532906abd49b73
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.


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

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


More information about the ghc-commits mailing list