We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2631422 commit 3cc92a8Copy full SHA for 3cc92a8
lib/AST/GenericSignatureBuilder.cpp
@@ -7547,7 +7547,7 @@ void GenericSignatureBuilder::checkSameTypeConstraints(
7547
if (lhs.source != rhs.source || lhs.target != rhs.target)
7548
return false;
7549
7550
- // Check whethe we should diagnose redundancy for both constraints.
+ // Check whether we should diagnose redundancy for both constraints.
7551
if (!lhs.constraint.source->shouldDiagnoseRedundancy(true) ||
7552
!rhs.constraint.source->shouldDiagnoseRedundancy(false))
7553
return true;
0 commit comments