Skip to content

Commit 7c95321

Browse files
committed
wip: issue/88
1 parent 9a1e86a commit 7c95321

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

crates/lean_compiler/src/a_simplify_lang.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1597,6 +1597,10 @@ fn handle_inlined_functions_helper(
15971597
if let Some(func) = inlined_functions.get(&*function_name) {
15981598
let mut inlined_lines = vec![];
15991599

1600+
for var in return_data.iter() {
1601+
inlined_lines.push(Line::ForwardDeclaration { var : var.clone() });
1602+
}
1603+
16001604
let mut simplified_args = vec![];
16011605
for arg in args {
16021606
if let Expression::Value(simple_expr) = arg {

0 commit comments

Comments
 (0)