fix: typo

This commit is contained in:
Leonardo de Moura 2019-11-11 09:16:28 -08:00
parent 27567d85e3
commit cfcbb6e9dc

View file

@ -100,8 +100,7 @@ do typeType ← inferType type;
(inferType : Expr → MetaM Expr)
(e : Expr) : MetaM Expr :=
forallTelescope whnf e $ fun xs e => do
type ← inferType e;
lvl ← getLevel whnf inferType type;
lvl ← getLevel whnf inferType e;
lvl ← xs.foldrM
(fun x lvl => do
xType ← inferType x;