From 6419634ec063a9357975d5a6da29406b77c3e7d9 Mon Sep 17 00:00:00 2001 From: TilakMaddy Date: Sun, 15 Sep 2024 21:09:24 +0530 Subject: [PATCH] fix: ast node binding --- crates/artifacts/solc/src/ast/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/artifacts/solc/src/ast/mod.rs b/crates/artifacts/solc/src/ast/mod.rs index 31142f7c..c5ca8492 100644 --- a/crates/artifacts/solc/src/ast/mod.rs +++ b/crates/artifacts/solc/src/ast/mod.rs @@ -257,7 +257,7 @@ pub enum AssignmentOperator { ShlAssign, } -ast_node!( +expr_node!( /// A binary operation. struct BinaryOperation { common_type: TypeDescriptions, @@ -938,7 +938,7 @@ stmt_node!( /// A return statement. struct Return { expression: Option, - function_return_parameters: usize, + function_return_parameters: Option, } );