fix: typo

This commit is contained in:
Leonardo de Moura 2019-11-21 11:23:46 -08:00
parent 7c7849422f
commit 100664cb39

View file

@ -52,7 +52,7 @@ private def checkConstant (c : Name) (lvls : List Level) : MetaM Unit :=
do env ← getEnv;
match env.find c with
| none => throwEx $ Exception.unknownConst c
| some cinfo => unless (lvls.length != cinfo.lparams.length) $ throwEx $ Exception.incorrectNumOfLevels c lvls
| some cinfo => unless (lvls.length == cinfo.lparams.length) $ throwEx $ Exception.incorrectNumOfLevels c lvls
@[specialize] private def checkApp
(check : Expr → MetaM Unit)