[commit: ghc] ghc-8.0: Fix #11313. (b2db13a)

git at git.haskell.org git at git.haskell.org
Thu Feb 18 12:03:45 UTC 2016


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

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/b2db13a7e7b693419170216ea6f74dc92723a8a9/ghc

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

commit b2db13a7e7b693419170216ea6f74dc92723a8a9
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.
    
    (cherry picked from commit a6152159c9f14fc9cf0e86caff532906abd49b73)


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

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


More information about the ghc-commits mailing list