Drop redundant parameter from ConsumeAndAddCloseSymbol (#6724)

This commit is contained in:
Geoff Romer authored and GitHub committed 2026-02-12 01:56:15 +00:00
1 parent 320096da67
commit 3719d200d6
7 files changed
+16 -21

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ auto HandleIndexExpr(Context& context) -> void {
auto HandleIndexExprFinish(Context& context) -> void {
auto state = context.PopState();
context.ConsumeAndAddCloseSymbol(state.token, state, NodeKind::IndexExpr);
context.ConsumeAndAddCloseSymbol(state, NodeKind::IndexExpr);
}
} // namespace Carbon::Parse