Skip to content

Commit bd6f387

Browse files
committed
[AST] Correctly set LAST_EXPR
1 parent c2fc7ee commit bd6f387

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-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

0 commit comments

Comments
 (0)