[project @ 2004-12-21 12:22:22 by simonpj]
[ghc-hetmet.git] / ghc / compiler / specialise / Rules.lhs
index f344d9a..e09dc22 100644 (file)
@@ -26,7 +26,7 @@ import Var            ( Var )
 import VarSet
 import VarEnv
 import TcType          ( TvSubstEnv )
-import Unify           ( matchTyX, MatchEnv(..) )
+import Unify           ( tcMatchTyX, MatchEnv(..) )
 import BasicTypes      ( Activation, CompilerPhase, isActive )
 
 import Outputable
@@ -324,7 +324,7 @@ We only want to replace (f T) with f', not (f Int).
 \begin{code}
 ------------------------------------------
 match_ty menv (tv_subst, id_subst) ty1 ty2
-  = do { tv_subst' <- Unify.matchTyX menv tv_subst ty1 ty2
+  = do { tv_subst' <- Unify.tcMatchTyX menv tv_subst ty1 ty2
        ; return (tv_subst', id_subst) }
 \end{code}