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:
Jon Ross-Perkins
2026-02-09 22:00:21 +00:00
committed by GitHub
parent a465018fec
commit 2c6d9c7f66
41 changed files with 99 additions and 91 deletions
+1 -1
View File
@@ -419,7 +419,7 @@ auto HandleParseNode(Context& context, Parse::FieldNameAndTypeId node_id)
}
auto& class_info = context.classes().Get(parent_class_decl->class_id);
auto field_type_id = GetUnboundElementType(
context, context.types().GetInstId(class_info.self_type_id),
context, context.types().GetTypeInstId(class_info.self_type_id),
cast_type_inst_id);
auto field_id =
AddInst<SemIR::FieldDecl>(context, node_id,