[commit: ghc] master: Fix #11254. (39ea4b4)

git at git.haskell.org git at git.haskell.org
Fri Jan 15 20:44:03 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/39ea4b4b19ea65d05f0d946084b316d5f5d2e675/ghc

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

commit 39ea4b4b19ea65d05f0d946084b316d5f5d2e675
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.


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

39ea4b4b19ea65d05f0d946084b316d5f5d2e675
 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 39ea4b4b19ea65d05f0d946084b316d5f5d2e675


More information about the ghc-commits mailing list