chore: normalize universe level

This commit is contained in:
Leonardo de Moura 2019-11-11 09:19:06 -08:00
parent 0358511121
commit 5dc1bbb188

View file

@ -107,7 +107,7 @@ forallTelescope whnf e $ fun xs e => do
xTypeLvl ← getLevel whnf inferType xType;
pure $ Level.imax xTypeLvl lvl)
lvl;
pure $ Expr.sort lvl
pure $ Expr.sort lvl.normalize
/- Infer type of lambda and let expressions -/
@[specialize] private def inferLambdaType