Skip to content

Commit bb6df83

Browse files
authored
Merge pull request #67701 from hamishknight/small-fixes
A couple of small fixes
2 parents f62c6c0 + e22180b commit bb6df83

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

include/swift/AST/ExprNodes.def

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,8 @@ UNCHECKED_EXPR(OneWay, Expr)
213213
EXPR(Tap, Expr)
214214
UNCHECKED_EXPR(TypeJoin, Expr)
215215
EXPR(MacroExpansion, Expr)
216-
LAST_EXPR(TypeJoin)
216+
// Don't forget to update the LAST_EXPR below when adding a new Expr here.
217+
LAST_EXPR(MacroExpansion)
217218

218219
#undef EXPR_RANGE
219220
#undef LITERAL_EXPR

lib/Sema/CSSimplify.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6620,6 +6620,7 @@ bool ConstraintSystem::repairFailures(
66206620

66216621
conversionsOrFixes.push_back(IgnoreContextualType::create(
66226622
*this, lhs, rhs, getConstraintLocator(anchor)));
6623+
break;
66236624
}
66246625
default:
66256626
break;

0 commit comments

Comments
 (0)