Add unit tagging to GenericId (#6248)

This commit is contained in:
David Blaikie
2025-10-17 23:21:27 +00:00
committed by GitHub
parent f761960c48
commit 1df0d4566e
5 changed files with 238 additions and 235 deletions
+1
View File
@@ -41,6 +41,7 @@ File::File(const Parse::Tree* parse_tree, CheckIRId check_ir_id,
associated_constants_(check_ir_id),
impls_(*this),
specific_interfaces_(check_ir_id),
generics_(check_ir_id),
// 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.