Finish renaming BindName and related insts. (#6281)

Resolves the TODO from #6235
This commit is contained in:
Geoff Romer
2025-10-28 17:17:38 +00:00
committed by GitHub
parent 5e0201e5c8
commit 0811d996e1
482 changed files with 26192 additions and 26198 deletions
+1 -1
View File
@@ -246,7 +246,7 @@ auto MatchContext::DoEmitPatternMatch(Context& context,
value_id = entry.scrutinee_id;
}
if (bind_name_id.has_value()) {
auto bind_name = context.insts().GetAs<SemIR::AnyBindName>(bind_name_id);
auto bind_name = context.insts().GetAs<SemIR::AnyBinding>(bind_name_id);
CARBON_CHECK(!bind_name.value_id.has_value());
bind_name.value_id = value_id;
ReplaceInstBeforeConstantUse(context, bind_name_id, bind_name);