mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 10:54:49 +01:00
Add unit tagging to SpecificInterfaceId (#6215)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user