From 1d0bf7250870a96e524cd4468f1287e6bb61ec01 Mon Sep 17 00:00:00 2001 From: Jon Ross-Perkins Date: Thu, 5 Feb 2026 15:50:35 -0800 Subject: [PATCH] Fix pluralization mismatch on compile_time_binding/s (#6696) Assisted-by: Google Antigravity with Gemini 3 Flash --- toolchain/check/generic.cpp | 2 +- toolchain/check/scope_stack.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/toolchain/check/generic.cpp b/toolchain/check/generic.cpp index e9b20cd1a37e..3f5988959ea6 100644 --- a/toolchain/check/generic.cpp +++ b/toolchain/check/generic.cpp @@ -424,7 +424,7 @@ auto DiscardGenericDecl(Context& context) -> void { auto BuildGeneric(Context& context, SemIR::InstId decl_id) -> SemIR::GenericId { auto all_bindings = - context.scope_stack().compile_time_bindings_stack().PeekAllValues(); + context.scope_stack().compile_time_binding_stack().PeekAllValues(); if (all_bindings.empty()) { CARBON_CHECK(context.generic_region_stack().PeekEvalBlock().empty(), diff --git a/toolchain/check/scope_stack.h b/toolchain/check/scope_stack.h index 52c9cfc5e551..620c47feebc0 100644 --- a/toolchain/check/scope_stack.h +++ b/toolchain/check/scope_stack.h @@ -183,7 +183,7 @@ class ScopeStack { return destroy_id_stack_; } - auto compile_time_bindings_stack() -> ArrayStack& { + auto compile_time_binding_stack() -> ArrayStack& { return compile_time_binding_stack_; }