Skip to content

Commit e5c686a

Browse files
committed
[CSBinding] Adjust SE-0299 binding inference to BindingSet
1 parent bcb3da0 commit e5c686a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/CSBindings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ void BindingSet::finalize(
453453
if (!hasViableBindings() && TransitiveProtocols.hasValue()) {
454454
for (auto *constraint : *TransitiveProtocols) {
455455
auto protocolTy = constraint->getSecondType();
456-
addPotentialBinding(
456+
addBinding(
457457
{protocolTy, AllowedBindingKind::Exact, constraint});
458458
}
459459
}

0 commit comments

Comments
 (0)