When reporting the context of given constraints, stop when you find one
authorSimon Peyton Jones <simonpj@microsoft.com>
Wed, 29 Oct 2014 17:45:34 +0000 (17:45 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Tue, 4 Nov 2014 10:38:00 +0000 (10:38 +0000)
commitc64539cdea1ba9ac3ab2613e0f320e74859a37ff
tree1de1ffc320316462b331a7925418f738d1b735dd
parente840d85309ba1de954dad6ad3acfdddafc5d5ac6
When reporting the context of given constraints, stop when you find one
that binds a variable mentioned in the wanted

There is really no point in reporting ones further out; they can't be useful
compiler/typecheck/TcErrors.lhs