Skip to content

Commit f96083c

Browse files
authored
Merge pull request #3430 from practicalswift/typo-fixes-20160709
2 parents 6cdbacc + fcd470c commit f96083c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/Parse/ParseType.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ ParserResult<TupleTypeRepr> Parser::parseTypeTupleBody() {
467467
/*AllowSepAfterLast=*/false,
468468
diag::expected_rparen_tuple_type_list,
469469
[&] () -> ParserStatus {
470-
// If this is an deprecated use of the inout marker in an argument list,
470+
// If this is a deprecated use of the inout marker in an argument list,
471471
// consume the inout.
472472
SourceLoc InOutLoc;
473473
bool hasAnyInOut = false;

lib/Sema/MiscDiagnostics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2856,7 +2856,7 @@ static void checkStmtConditionTrailingClosure(TypeChecker &TC, const Expr *E) {
28562856
DiagnoseWalker(TypeChecker &tc) : TC(tc) { }
28572857

28582858
virtual std::pair<bool, Expr *> walkToExprPre(Expr *E) override {
2859-
// Dig into implict expression.
2859+
// Dig into implicit expression.
28602860
if (E->isImplicit()) return { true, E };
28612861
// Diagnose call expression.
28622862
if (auto CE = dyn_cast<CallExpr>(E))

0 commit comments

Comments
 (0)