[commit: ghc] ghc-8.0: Fix #11254. (4c53ab2)

git at git.haskell.org git at git.haskell.org
Sat Jan 16 12:49:46 UTC 2016


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

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/4c53ab2a108a749ae45657c73cda233b528fb029/ghc

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

commit 4c53ab2a108a749ae45657c73cda233b528fb029
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.
    
    (cherry picked from commit 39ea4b4b19ea65d05f0d946084b316d5f5d2e675)


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

4c53ab2a108a749ae45657c73cda233b528fb029
 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 4c53ab2a108a749ae45657c73cda233b528fb029


More information about the ghc-commits mailing list