mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 11:11:05 +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:
@@ -177,7 +177,7 @@ auto HandleParseNode(Context& context, Parse::ForHeaderId node_id) -> bool {
|
||||
auto loop_header_id = StartLoopHeader(context, start_node_id);
|
||||
|
||||
// Call `<range>.(Iterate.Next)(&cursor)`.
|
||||
auto cursor_type_inst_id = context.types().GetInstId(cursor_type_id);
|
||||
auto cursor_type_inst_id = context.types().GetTypeInstId(cursor_type_id);
|
||||
auto cursor_addr_id = AddInst<SemIR::AddrOf>(
|
||||
context, node_id,
|
||||
{.type_id = GetPointerType(context, cursor_type_inst_id),
|
||||
|
||||
Reference in New Issue
Block a user