Skip to content

Commit 0f6ddfb

Browse files
authored
remove outdated comment
1 parent a0144fd commit 0f6ddfb

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
@@ -5917,9 +5917,6 @@ impl<'db, 'ast> TypeInferenceBuilder<'db, 'ast> {
59175917
let _ = builder.infer(return_ty, declared_return_ty);
59185918
let specialization = builder.build(generic_context, call_expression_tcx);
59195919

5920-
// Note that we are not necessarily "preferring the declared type" here, as the
5921-
// type context will only be preferred during the inference of this expression
5922-
// by the same heuristics we use for the inference of the outer generic call.
59235920
parameter_type = parameter_type.apply_specialization(db, specialization);
59245921
}
59255922

0 commit comments

Comments
 (0)