Change grow's type

This commit is contained in:
Shunsuke Shibayama 2022-10-14 01:07:14 +09:00
parent 98460202df
commit 145152575c
4 changed files with 10 additions and 12 deletions

View file

@ -432,7 +432,7 @@ impl Context {
Signature::Var(_) => None,
};
// TODO: set params
self.grow(__name__, ContextKind::Instant, vis, tv_ctx)?;
self.grow(__name__, ContextKind::Instant, vis, tv_ctx);
let obj = self.eval_const_block(&def.body.block).map_err(|e| {
self.pop();
e