fix: typo
This commit is contained in:
parent
b771ec7328
commit
b4cc85e92d
1 changed files with 2 additions and 2 deletions
|
|
@ -37,9 +37,9 @@ do env ← getEnv;
|
|||
match env.find c with
|
||||
| some cinfo =>
|
||||
if cinfo.lparams.length == lvls.length then
|
||||
throwEx $ Exception.incorrectNumOfLevels c lvls
|
||||
else
|
||||
pure $ cinfo.instantiateTypeLevelParams lvls
|
||||
else
|
||||
throwEx $ Exception.incorrectNumOfLevels c lvls
|
||||
| none =>
|
||||
throwEx $ Exception.unknownConst c
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue