mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Rename type's GetInstId to GetTypeInstId, reflecting returned type (#6708)
Discussed briefly [on Discord](https://discord.com/channels/655572317891461132/655578254970716160/1470442830118912265), done to reduce confusion. Assisted-by: Google Antigravity with Gemini 3 Flash
This commit is contained in:
@@ -445,7 +445,7 @@ auto MatchContext::DoEmitPatternMatch(
|
||||
auto return_slot_id = AddInst<SemIR::ReturnSlot>(
|
||||
context, SemIR::LocId(entry.pattern_id),
|
||||
{.type_id = type_id,
|
||||
.type_inst_id = context.types().GetInstId(type_id),
|
||||
.type_inst_id = context.types().GetTypeInstId(type_id),
|
||||
.storage_id = entry.scrutinee_id});
|
||||
bool already_in_lookup =
|
||||
context.scope_stack()
|
||||
|
||||
Reference in New Issue
Block a user