mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-02 21:44:34 +00:00
Change grow
's type
This commit is contained in:
parent
98460202df
commit
145152575c
4 changed files with 10 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue