diff --git a/crates/py2erg/gen_decl.rs b/crates/py2erg/gen_decl.rs index 705536c..7a507ac 100644 --- a/crates/py2erg/gen_decl.rs +++ b/crates/py2erg/gen_decl.rs @@ -182,6 +182,21 @@ impl DeclFileGenerator { self.gen_chunk_decl(chunk); } } + Expr::Compound(compound) => { + for chunk in compound.iter() { + self.gen_chunk_decl(chunk); + } + } + Expr::Call(call) => { + for arg in call.args.iter() { + self.gen_chunk_decl(arg); + } + } + Expr::Lambda(lambda) => { + for arg in lambda.body.iter() { + self.gen_chunk_decl(arg); + } + } _ => {} } self.code.push('\n');