mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 21:30:12 +01:00
Remove index fields from ParamPatterns (#6815)
This is a step toward removing the index from `InitForm`, so that equal form values always have equal representations. --------- Co-authored-by: Jon Ross-Perkins <jperkins@google.com>
This commit is contained in:
co-authored by
Jon Ross-Perkins
parent
9ff6b0a682
commit
6dba8ee111
@@ -1561,8 +1561,7 @@ static auto TryResolveTypedInst(ImportRefResolver& resolver, ParamPatternT inst,
|
||||
resolver, import_inst_id,
|
||||
{.type_id =
|
||||
resolver.local_types().GetTypeIdForTypeConstantId(type_const_id),
|
||||
.subpattern_id = subpattern_id,
|
||||
.index = inst.index});
|
||||
.subpattern_id = subpattern_id});
|
||||
}
|
||||
|
||||
static auto TryResolveTypedInst(ImportRefResolver& resolver,
|
||||
|
||||
Reference in New Issue
Block a user