Skip to content

Commit a24b120

Browse files
giladchaseGilad Chase
andauthored
refactor(semantic): removed stale TODO (#8582)
Co-authored-by: Gilad Chase <[email protected]>
1 parent b461d1f commit a24b120

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

crates/cairo-lang-semantic/src/expr/compute.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,8 +1376,6 @@ fn compute_expr_function_call_semantic<'db>(
13761376
ctx.diagnostics.report(syntax.stable_ptr(db), CannotCreateInstancesOfPhantomTypes);
13771377
}
13781378

1379-
// TODO(Gil): Consider not invoking the TraitFunction inference below if there were
1380-
// errors in argument semantics, in order to avoid unnecessary diagnostics.
13811379
let named_args: Vec<_> = args_syntax
13821380
.elements(db)
13831381
.map(|arg_syntax| compute_named_argument_clause(ctx, arg_syntax, None))
@@ -1426,8 +1424,6 @@ fn compute_expr_function_call_semantic<'db>(
14261424
},
14271425
));
14281426
}
1429-
// TODO(Gil): Consider not invoking the TraitFunction inference below if there were
1430-
// errors in argument semantics, in order to avoid unnecessary diagnostics.
14311427

14321428
// Note there may be n+1 arguments for n parameters, if the last one is a coupon.
14331429
let mut args_iter = args_syntax.elements(db);

0 commit comments

Comments
 (0)