Skip to content

Commit 6c41322

Browse files
authored
Merge pull request #35504 from LucianoPAlmeida/update-comment
2 parents 6259695 + 0f6a4c0 commit 6c41322

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
@@ -1118,11 +1118,11 @@ bool PotentialBindings::infer(Constraint *constraint) {
11181118
break;
11191119
}
11201120
case ConstraintKind::KeyPathApplication: {
1121-
// If this variable is in the application projected result type, mark the
1122-
// result as `FullyBound` to ensure we delay binding until we've bound
1123-
// other type variables in the KeyPathApplication constraint. This ensures
1124-
// we try to bind the key path type first, which can allow us to discover
1125-
// additional bindings for the result type.
1121+
// If this variable is in the application projected result type, delay
1122+
// binding until we've bound other type variables in the key-path
1123+
// application constraint. This ensures we try to bind the key path type
1124+
// first, which can allow us to discover additional bindings for the result
1125+
// type.
11261126
SmallPtrSet<TypeVariableType *, 4> typeVars;
11271127
findInferableTypeVars(CS.simplifyType(constraint->getThirdType()),
11281128
typeVars);

0 commit comments

Comments
 (0)