Skip to content

Commit 0f6a4c0

Browse files
[NFC] Update comment that mentioned old mark as FullyBound way to delay bindings
1 parent 843b25b commit 0f6a4c0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/Sema/CSBindings.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,11 +1035,11 @@ bool ConstraintSystem::PotentialBindings::infer(
10351035
break;
10361036
}
10371037
case ConstraintKind::KeyPathApplication: {
1038-
// If this variable is in the application projected result type, mark the
1039-
// result as `FullyBound` to ensure we delay binding until we've bound
1040-
// other type variables in the KeyPathApplication constraint. This ensures
1041-
// we try to bind the key path type first, which can allow us to discover
1042-
// additional bindings for the result type.
1038+
// If this variable is in the application projected result type, delay
1039+
// binding until we've bound other type variables in the key-path
1040+
// application constraint. This ensures we try to bind the key path type
1041+
// first, which can allow us to discover additional bindings for the result
1042+
// type.
10431043
SmallPtrSet<TypeVariableType *, 4> typeVars;
10441044
findInferableTypeVars(cs.simplifyType(constraint->getThirdType()),
10451045
typeVars);

0 commit comments

Comments
 (0)