[project @ 2003-04-08 13:06:48 by simonpj]
authorsimonpj <unknown>
Tue, 8 Apr 2003 13:06:48 +0000 (13:06 +0000)
committersimonpj <unknown>
Tue, 8 Apr 2003 13:06:48 +0000 (13:06 +0000)
commit030fa3785b97bec246d7e9628a94987724434cd8
tree7a44e57bd77e6d4bd832d8a14ebdb07b35c29496
parentb0ca4f2e485055439816441ea9825d66af0158b0
[project @ 2003-04-08 13:06:48 by simonpj]
----------------------------------
   Try swapping order of inference for applications
----------------------------------

For a long time we've inferred the argument types of a function
call before using information from the expected type passed in.
This commit swaps the order.  See comments with tcApp for an
example where this makes a real difference.

I don't think any error messages get signficantly worse, but yell
if you find any.
ghc/compiler/typecheck/TcExpr.lhs