Commit aff5bb47 authored by's avatar
Browse files

Add missing kind cast to pure unifier.

parent 90f35612
......@@ -788,7 +788,7 @@ uVar tv1 ty kco
-- this is because the range of the subst is the target
-- type, not the template type. So, just check for
-- normal type equality.
guard (ty' `eqType` ty) }
guard ((ty' `mkCastTy` kco) `eqType` ty) }
Nothing -> uUnrefined tv1 ty ty kco } -- No, continue
uUnrefined :: TyVar -- variable to be unified
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment