[commit: ghc] master: Make the "matchable-given" check happen first (228ddb9)
git at git.haskell.org
git at git.haskell.org
Mon May 18 12:45:37 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/228ddb95ee137e7cef02dcfe2521233892dd61e0/ghc
>---------------------------------------------------------------
commit 228ddb95ee137e7cef02dcfe2521233892dd61e0
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
>---------------------------------------------------------------
228ddb95ee137e7cef02dcfe2521233892dd61e0
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 228ddb95ee137e7cef02dcfe2521233892dd61e0
More information about the ghc-commits
mailing list