[commit: ghc] master: Better type wildcard errors (9e86bf1)

git at git.haskell.org git at git.haskell.org
Fri Jul 10 11:53:36 UTC 2015


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

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

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

commit 9e86bf1b346934e04ccc17ec50ea7e7d906f25e2
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Fri Jul 10 12:53:53 2015 +0100

    Better type wildcard errors
    
    Adopts sugggestion in Trac #10224, comment:3


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

9e86bf1b346934e04ccc17ec50ea7e7d906f25e2
 compiler/typecheck/TcErrors.hs                     | 44 ++++++++++++----------
 .../partial-sigs/should_compile/T10403.stderr      |  4 +-
 .../partial-sigs/should_compile/T10438.stderr      |  2 +-
 .../WarningWildcardInstantiations.stderr           | 10 ++---
 .../InstantiatedNamedWildcardsInConstraints.stderr |  2 +-
 .../should_fail/NamedWildcardsEnabled.stderr       |  4 +-
 .../PartialTypeSignaturesDisabled.stderr           |  4 +-
 .../partial-sigs/should_fail/TidyClash.stderr      |  4 +-
 .../partial-sigs/should_fail/Trac10045.stderr      |  2 +-
 .../should_fail/WildcardInstantiations.stderr      | 10 ++---
 .../WildcardsInPatternAndExprSig.stderr            | 10 ++---
 .../tests/typecheck/should_compile/T10072.stderr   |  2 +-
 12 files changed, 51 insertions(+), 47 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 9e86bf1b346934e04ccc17ec50ea7e7d906f25e2


More information about the ghc-commits mailing list