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:
@@ -80,7 +80,7 @@ auto HandleParseNode(Context& context, Parse::TuplePatternId node_id) -> bool {
|
||||
for (auto inst : inst_block) {
|
||||
auto type_id = ExtractScrutineeType(context.sem_ir(),
|
||||
context.insts().Get(inst).type_id());
|
||||
type_inst_ids.push_back(context.types().GetInstId(type_id));
|
||||
type_inst_ids.push_back(context.types().GetTypeInstId(type_id));
|
||||
}
|
||||
auto type_id = GetPatternType(context, GetTupleType(context, type_inst_ids));
|
||||
context.node_stack().Push(
|
||||
|
||||
Reference in New Issue
Block a user