mirror of https://github.com/astral-sh/ruff
whelp those are backwards
This commit is contained in:
parent
c85f102e70
commit
73acf0a926
|
|
@ -1892,11 +1892,11 @@ impl<'db> SpecializationBuilder<'db> {
|
||||||
};
|
};
|
||||||
|
|
||||||
for actual_callable in actual_callables.as_slice() {
|
for actual_callable in actual_callables.as_slice() {
|
||||||
let when = formal_callable
|
let when = actual_callable
|
||||||
.signatures(self.db)
|
.signatures(self.db)
|
||||||
.when_constraint_set_assignable_to(
|
.when_constraint_set_assignable_to(
|
||||||
self.db,
|
self.db,
|
||||||
actual_callable.signatures(self.db),
|
formal_callable.signatures(self.db),
|
||||||
self.inferable,
|
self.inferable,
|
||||||
);
|
);
|
||||||
self.add_type_mappings_from_constraint_set(when, polarity, &mut f);
|
self.add_type_mappings_from_constraint_set(when, polarity, &mut f);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue