From ed011866bcf0ae7f8f69ab6ab9d5f702440b78fd Mon Sep 17 00:00:00 2001 From: sirasistant Date: Tue, 4 Jul 2023 17:02:42 +0000 Subject: [PATCH] fix: merge change --- crates/noirc_evaluator/src/ssa_refactor/acir_gen/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/noirc_evaluator/src/ssa_refactor/acir_gen/mod.rs b/crates/noirc_evaluator/src/ssa_refactor/acir_gen/mod.rs index cd6172d59fb..307bcce5a35 100644 --- a/crates/noirc_evaluator/src/ssa_refactor/acir_gen/mod.rs +++ b/crates/noirc_evaluator/src/ssa_refactor/acir_gen/mod.rs @@ -344,7 +344,7 @@ impl Context { let mut entry_point = BrilligArtifact::new_entry_point_artifact( BrilligFunctionContext::parameters(func), BrilligFunctionContext::return_values(func), - BrilligFunctionContext::function_id_to_function_label(*id), + BrilligFunctionContext::function_id_to_function_label(func.id()), ); // Link the entry point with all dependencies while let Some(unresolved_fn_label) = entry_point.first_unresolved_function_call() {