Skip to content

Commit 76c7b63

Browse files
committed
[Constraint solver] Fix a typo in a comment (in both places it is used).
1 parent 202d521 commit 76c7b63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Sema/ConstraintSystem.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1791,7 +1791,7 @@ class CommonTypeVisitor : public TypeVisitor<CommonTypeVisitor, Type, Type> {
17911791
}
17921792

17931793
Type ConstraintSystem::findCommonResultType(ArrayRef<OverloadChoice> choices) {
1794-
// Local function to consider this s new overload choice, updating the
1794+
// Local function to consider this new overload choice, updating the
17951795
// "common type". Returns true if this overload cannot be integrated into
17961796
// the common type, at which point there is no "common type".
17971797
Type commonType;
@@ -1842,7 +1842,7 @@ Type ConstraintSystem::findCommonOverloadType(
18421842
ArrayRef<OverloadChoice> choices,
18431843
ArrayRef<OverloadChoice> outerAlternatives,
18441844
ConstraintLocator *locator) {
1845-
// Local function to consider this s new overload choice, updating the
1845+
// Local function to consider this new overload choice, updating the
18461846
// "common type". Returns true if this overload cannot be integrated into
18471847
// the common type, at which point there is no "common type".
18481848
Type commonType;

0 commit comments

Comments
 (0)