Fix #11254.
authorRichard Eisenberg <eir@cis.upenn.edu>
Mon, 11 Jan 2016 19:47:49 +0000 (14:47 -0500)
committerRichard Eisenberg <eir@cis.upenn.edu>
Fri, 15 Jan 2016 20:43:44 +0000 (15:43 -0500)
commit39ea4b4b19ea65d05f0d946084b316d5f5d2e675
tree4cf57df9e8fe1d376279d7398998b55c0fe6dd04
parent3a7f204f5d713ed4ac034d371fc10d8bedb39efa
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.
compiler/typecheck/TcInstDcls.hs
testsuite/tests/typecheck/should_compile/T11254.stderr [new file with mode: 0644]
testsuite/tests/typecheck/should_compile/all.T