Add unit tagging to SpecificInterfaceId (#6215)

This commit is contained in:
David Blaikie
2025-10-15 18:09:29 +00:00
committed by GitHub
parent c2d21429f2
commit a486c12bd6
7 changed files with 27 additions and 13 deletions
+1
View File
@@ -40,6 +40,7 @@ File::File(const Parse::Tree* parse_tree, CheckIRId check_ir_id,
classes_(IdTag(check_ir_id.index, 0)),
associated_constants_(IdTag(check_ir_id.index, 0)),
impls_(*this),
specific_interfaces_(IdTag(check_ir_id.index, 0)),
// The `+1` prevents adding a tag to the global `NameSpace::PackageInstId`
// instruction. It's not a "singleton" instruction, but it's a unique
// instruction id that comes right after the singletons.