Fix over-eager error suppression in TcErrors
authorSimon Peyton Jones <simonpj@microsoft.com>
Thu, 5 Oct 2017 16:40:28 +0000 (17:40 +0100)
committerBen Gamari <ben@smart-cactus.org>
Tue, 24 Oct 2017 17:21:31 +0000 (13:21 -0400)
commit8a07a522ec9062886fd79b78d55924622ed72a69
tree8f2ec222feb1caa0beb54939b0d422fabd026712
parent404bf05ed3193e918875cd2f6c95ae0da5989be2
Fix over-eager error suppression in TcErrors

See Note [Given insolubles] in TcRnTypes

Fixes Trac #14325.

(cherry picked from commit c81f66ccafdb4c6c7a09cfaf6819c8797c518491)
compiler/typecheck/TcRnTypes.hs
testsuite/tests/typecheck/should_fail/T14325.hs [new file with mode: 0644]
testsuite/tests/typecheck/should_fail/T14325.stderr [new file with mode: 0644]
testsuite/tests/typecheck/should_fail/all.T