Skip to content

Commit e053c52

Browse files
committed
remove outdated comment
1 parent ee1625c commit e053c52

File tree

1 file changed

+0
-3
lines changed
  • crates/ty_python_semantic/src/types/infer

1 file changed

+0
-3
lines changed

crates/ty_python_semantic/src/types/infer/builder.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6193,9 +6193,6 @@ impl<'db, 'ast> TypeInferenceBuilder<'db, 'ast> {
61936193
let _ = builder.infer(return_ty, declared_return_ty);
61946194
let specialization = builder.build(generic_context, call_expression_tcx);
61956195

6196-
// Note that we are not necessarily "preferring the declared type" here, as the
6197-
// type context will only be preferred during the inference of this expression
6198-
// by the same heuristics we use for the inference of the outer generic call.
61996196
parameter_type = parameter_type.apply_specialization(db, specialization);
62006197
}
62016198

0 commit comments

Comments
 (0)