Skip to content

Commit

Permalink
Use method_syntax instead of self when looking for candidates. (#7105)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyalesokhin-starkware authored Jan 16, 2025
1 parent c400112 commit 85f06b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cairo-lang-semantic/src/expr/compute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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[..] {
[] => {
Expand Down

0 comments on commit 85f06b9

Please sign in to comment.