FIX #1385: make sure tuple instances are loaded
authorsimonpj@microsoft.com <unknown>
Wed, 6 Jun 2007 13:00:56 +0000 (13:00 +0000)
committersimonpj@microsoft.com <unknown>
Wed, 6 Jun 2007 13:00:56 +0000 (13:00 +0000)
commitf750bec77c4f1b6d986dfa237df63a70689e9849
tree40e73a46141336466fb9846cfa3ca5137f11e27e
parentd71a11ad9bc8f6c9656ea87eb5d77fc11a6f6f47
FIX #1385: make sure tuple instances are loaded

Typechecking of explicit tuples is done "by hand" (rather than using
boxySplitTyConApp) so that rigidity is maintained.  In making that change
I'd forgotten to retain the call to checkWiredInTyCon, which is important
to make sure instances are brought into scope.

Test is tc227.
compiler/typecheck/TcExpr.lhs