[commit: ghc] wip/exp-types: Fix #11254. (f961122)
git at git.haskell.org
git at git.haskell.org
Thu Jan 14 04:29:33 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/exp-types
Link : http://ghc.haskell.org/trac/ghc/changeset/f96112213b3b5e1d980fdc627492e1f4d293ed54/ghc
>---------------------------------------------------------------
commit f96112213b3b5e1d980fdc627492e1f4d293ed54
Author: Richard Eisenberg <eir at cis.upenn.edu>
Date: Mon Jan 11 14:47:49 2016 -0500
Fix #11254.
This moves the call to tcSubType into the context of the
checkInstConstraints call, allowing the deferred type error
somewhere to hang its hat.
>---------------------------------------------------------------
f96112213b3b5e1d980fdc627492e1f4d293ed54
compiler/typecheck/TcInstDcls.hs | 113 +++++++++++----------
.../tests/typecheck/should_compile/T11254.stderr | 25 +++++
testsuite/tests/typecheck/should_compile/all.T | 2 +-
3 files changed, 88 insertions(+), 52 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 f96112213b3b5e1d980fdc627492e1f4d293ed54
More information about the ghc-commits
mailing list