Fix a latent promotion bug in TcSimplify.simplifyInfer
authorSimon Peyton Jones <simonpj@microsoft.com>
Fri, 21 Nov 2014 11:06:12 +0000 (11:06 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Fri, 21 Nov 2014 11:35:25 +0000 (11:35 +0000)
commit16d10ae04b66a052fd54e30677ce7696dba53580
treec9cc750eb42d31cb193087382c9690a6cc9aa836
parent0f5c16370de2af82045d6ae8e64a3096241ceff1
Fix a latent promotion bug in TcSimplify.simplifyInfer

We weren't promoting enough type variables, with unpredictable consequences.
The new code is, if anything, simpler.
compiler/typecheck/TcSimplify.lhs