[commit: ghc] wip/rae: Fix #11254. (c9bb061)

git at git.haskell.org git at git.haskell.org
Mon Jan 11 19:57:01 UTC 2016


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

On branch  : wip/rae
Link       : http://ghc.haskell.org/trac/ghc/changeset/c9bb061dd2d173e3d5565d5ec352c8559f52820e/ghc

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

commit c9bb061dd2d173e3d5565d5ec352c8559f52820e
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.


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

c9bb061dd2d173e3d5565d5ec352c8559f52820e
 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 c9bb061dd2d173e3d5565d5ec352c8559f52820e


More information about the ghc-commits mailing list