Include the type in the location of binding insts (#6963)

This commit is contained in:
Geoff Romer
2026-03-26 18:43:29 +00:00
committed by GitHub
parent 85da6cae01
commit 18f87e4f79
198 changed files with 4770 additions and 4775 deletions
+1 -1
View File
@@ -192,7 +192,7 @@ static auto HandleAnyBindingPattern(Context& context, Parse::NodeId node_id,
phase = is_template ? BindingPhase::Template : BindingPhase::Symbolic;
}
auto binding = AddBindingPattern(
context, name_node, type_expr_region_id,
context, node_id, type_expr_region_id,
{.kind = kind,
.type_id = GetPatternType(context, type_expr.type_component_id),
.entity_name_id =