fix: typo
This commit is contained in:
parent
7c7849422f
commit
100664cb39
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue