X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Ftypecheck%2FTcUnify.lhs;h=4fc50b33256e642b0331aad8a57854d9d44a0a8a;hb=ce15c63e3e309ee175dfa5f4ad787c347c7dab1c;hp=804532799ed8e13f79b73a1d34234f204708b69b;hpb=1add108e019be6bbdb340eea3900f7193d5daa6b;p=ghc-hetmet.git diff --git a/compiler/typecheck/TcUnify.lhs b/compiler/typecheck/TcUnify.lhs index 8045327..4fc50b3 100644 --- a/compiler/typecheck/TcUnify.lhs +++ b/compiler/typecheck/TcUnify.lhs @@ -520,7 +520,7 @@ uType, uType_np, uType_defer -- See Note [Deferred unification] uType_defer (item : origin) ty1 ty2 = wrapEqCtxt origin $ - do { co_var <- newWantedCoVar ty1 ty2 + do { co_var <- newCoVar ty1 ty2 ; loc <- getCtLoc (TypeEqOrigin item) ; emitFlat (mkEvVarX co_var loc)