We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a42ce37 commit e8b0657Copy full SHA for e8b0657
lib/AST/Pattern.cpp
@@ -744,7 +744,7 @@ SourceLoc TuplePattern::getAnyEllipsisLoc() const {
744
745
SourceRange TypedPattern::getSourceRange() const {
746
if (isImplicit()) {
747
- // If a TypedPattern is implicit, then its type is definitely implicit, se
+ // If a TypedPattern is implicit, then its type is definitely implicit, so
748
// we should ignore its location. On the other hand, the sub-pattern can
749
// be explicit or implicit.
750
return SubPattern->getSourceRange();
0 commit comments