diff --git a/crates/cairo-lang-semantic/src/expr/compute.rs b/crates/cairo-lang-semantic/src/expr/compute.rs index 89bb0cb858e..4decdfe6f22 100644 --- a/crates/cairo-lang-semantic/src/expr/compute.rs +++ b/crates/cairo-lang-semantic/src/expr/compute.rs @@ -1943,7 +1943,7 @@ fn compute_method_function_call_data( self_ty, candidate_traits, func_name.clone(), - self_expr.stable_ptr().untyped(), + method_syntax, ); let trait_function_id = match candidates[..] { [] => {