fix: typo

This commit is contained in:
Leonardo de Moura 2019-11-11 08:47:00 -08:00
parent b771ec7328
commit b4cc85e92d

View file

@ -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