@@ -89,7 +89,7 @@ check' holes ctxt env top = chk env top where
8989 (v, cs) <- get
9090 let Set su = normalise ctxt env st
9191 let Set tu = normalise ctxt env tt
92− when (not holes) $ put (v+1, ULT su (UVar v):ULT tu (UVar v):cs)
92+ when (not holes) $ put (v+1, ULE su (UVar v):ULE tu (UVar v):cs)
9393 return (Bind n (Pi sv) (pToV n tv), Set (UVar v))
9494 chk env (RBind n b sc)
9595 = do b' <- checkBinder b
@@ -112,7 +112,7 @@ check' holes ctxt env top = chk env top where
112112 (vv, vt) <- chk env v
113113 let tv' = normalise ctxt env tv
114114 let tt' = normalise ctxt env tt
115− convertsC ctxt env tv vt
115+ convertsC ctxt env vt tv
116116 lift $ isSet ctxt env tt'
117117 return (Let tv vv)
118118 checkBinder (NLet t v)
@@ -120,7 +120,7 @@ check' holes ctxt env top = chk env top where
120120 (vv, vt) <- chk env v
121121 let tv' = normalise ctxt env tv
122122 let tt' = normalise ctxt env tt
123− convertsC ctxt env tv vt
123+ convertsC ctxt env vt tv
124124 lift $ isSet ctxt env tt'
125125 return (NLet tv vv)
126126 checkBinder (Hole t)
@@ -144,7 +144,7 @@ check' holes ctxt env top = chk env top where
144144 (vv, vt) <- chk env v
145145 let tv' = normalise ctxt env tv
146146 let tt' = normalise ctxt env tt
147− convertsC ctxt env tv vt
147+ convertsC ctxt env vt tv
148148 lift $ isSet ctxt env tt'
149149 return (Guess tv vv)
150150 checkBinder (PVar t)