[commit: ghc] master: Make the "matchable-given" check happen first (eb6ca85)
git at git.haskell.org
git at git.haskell.org
Wed May 13 11:48:50 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/eb6ca851f553262efe0824b8dcbe64952de4963d/ghc
>---------------------------------------------------------------
commit eb6ca851f553262efe0824b8dcbe64952de4963d
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Wed May 13 12:49:13 2015 +0100
Make the "matchable-given" check happen first
This change makes the matchable-given check apply uniformly to
- constraint tuples
- natural numbers
- Typeable
as well as to vanilla class constraints.
See Note [Instance and Given overlap] in TcInteract
>---------------------------------------------------------------
eb6ca851f553262efe0824b8dcbe64952de4963d
compiler/typecheck/TcInteract.hs | 113 +++++++++++++++++++++------------------
1 file changed, 60 insertions(+), 53 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 eb6ca851f553262efe0824b8dcbe64952de4963d
More information about the ghc-commits
mailing list