Don't omit any evidence bindings
authorSimon Peyton Jones <simonpj@microsoft.com>
Fri, 24 Jun 2016 14:49:05 +0000 (15:49 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Tue, 28 Jun 2016 12:41:41 +0000 (13:41 +0100)
commitaf21e38855f7d517774542b360178b05045ecb08
treeaeef4dc422a9707a66ad75fefb41a4774f5af05c
parent3fb9837f3d69a6353df5a09d86c94f855dba20dc
Don't omit any evidence bindings

This fixes Trac #12156, where we were omitting to make an
evidence binding (because cec_suppress was on), but yet the
program was compiled and run.

The fix is easy, and involves deleting code :-).
compiler/typecheck/TcErrors.hs
testsuite/tests/partial-sigs/should_compile/T12156.hs [new file with mode: 0644]
testsuite/tests/partial-sigs/should_compile/T12156.stderr [new file with mode: 0644]
testsuite/tests/partial-sigs/should_compile/all.T