summaryrefslogtreecommitdiff
path: root/compiler/typecheck/TcCanonical.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/typecheck/TcCanonical.hs')
-rw-r--r--compiler/typecheck/TcCanonical.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/typecheck/TcCanonical.hs b/compiler/typecheck/TcCanonical.hs
index ac6b6af58e..7e7154f87d 100644
--- a/compiler/typecheck/TcCanonical.hs
+++ b/compiler/typecheck/TcCanonical.hs
@@ -1266,7 +1266,7 @@ canDecomposableTyConAppOK ev eq_rel tc tys1 tys2
-> do { let ev_co = mkCoVarCo evar
; given_evs <- newGivenEvVars loc $
[ ( mkPrimEqPredRole r ty1 ty2
- , EvCoercion (mkNthCo r i ev_co) )
+ , evCoercion (mkNthCo r i ev_co) )
| (r, ty1, ty2, i) <- zip4 tc_roles tys1 tys2 [0..]
, r /= Phantom
, not (isCoercionTy ty1) && not (isCoercionTy ty2) ]