Drop redundant parameter from ConsumeAndAddCloseSymbol (#6724)

This commit is contained in:
Geoff Romer
2026-02-12 01:56:15 +00:00
committed by GitHub
parent 320096da67
commit 3719d200d6
7 changed files with 16 additions and 21 deletions
+1 -2
View File
@@ -41,8 +41,7 @@ auto HandleArrayExprComma(Context& context) -> void {
auto HandleArrayExprFinish(Context& context) -> void {
auto state = context.PopState();
context.ConsumeAndAddCloseSymbol(*(Lex::TokenIterator(state.token)), state,
NodeKind::ArrayExpr);
context.ConsumeAndAddCloseSymbol(state, NodeKind::ArrayExpr);
}
} // namespace Carbon::Parse