Fix a couple of Implicit Param wibbles.
-- newMethodWith id_m1 tys ips_ tau loc `thenTc` \ new_m1 ->
returnTc (consLIE new_m1 ips, consLIE new_m2 lie)
where (ips_, theta_) = partition pred theta
+partMethod pred (ips, lie) inst@(LitInst u lit ty loc)
+ = returnTc (ips, consLIE inst lie)
tyVarsOfInst :: Inst -> TcTyVarSet
tyVarsOfInst (Dict _ pred _) = tyVarsOfPred pred
then expr'
else HsLet (MonoBind dict_binds [] NonRecursive) expr' in
tcCheckIPBinds binds' types ips' `thenTc_`
- returnTc (HsWith expr'' binds', lie')
+ returnTc (HsWith expr'' binds', lie' `plusLIE` lie2)
where isBound p
= case ipName_maybe p of
Just n -> n `elem` names