Skip to content

Commit 5d86995

Browse files
committed
[CSBindings] Revert changes to isViable
1 parent fbc11f4 commit 5d86995

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
@@ -909,7 +909,7 @@ bool BindingSet::isViable(PotentialBinding &binding) const {
909909

910910
for (auto &existing : Bindings) {
911911
auto *existingNTD = existing.BindingType->getAnyNominal();
912-
if (existingNTD && NTD == existingNTD && existing.Kind == binding.Kind)
912+
if (existingNTD && NTD == existingNTD)
913913
return false;
914914
}
915915
}

0 commit comments

Comments
 (0)