Improve error message when a function is applied
authorSimon Peyton Jones <simonpj@microsoft.com>
Wed, 4 May 2011 14:45:43 +0000 (15:45 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Wed, 4 May 2011 14:45:43 +0000 (15:45 +0100)
commit880046bb34c014a463ac10a6ef492c239bcb5797
treea716578f5a90ae31d12a43c7e43ba36c23027a1b
parent3bb700d515de2405fa5db3326482e529f332d508
Improve error message when a function is applied
to too many or too few args, in a higher order context

The change is to tcExpr.funResCtxt
compiler/typecheck/TcExpr.lhs