|
@@ -35,12 +35,12 @@ File::File(const Parse::Tree* parse_tree, CheckIRId check_ir_id,
|
|
|
: LibraryNameId::Default),
|
|
: LibraryNameId::Default),
|
|
|
value_stores_(&value_stores),
|
|
value_stores_(&value_stores),
|
|
|
filename_(std::move(filename)),
|
|
filename_(std::move(filename)),
|
|
|
- functions_(IdTag(check_ir_id.index, 0)),
|
|
|
|
|
- cpp_overload_sets_(IdTag(check_ir_id.index, 0)),
|
|
|
|
|
- classes_(IdTag(check_ir_id.index, 0)),
|
|
|
|
|
- associated_constants_(IdTag(check_ir_id.index, 0)),
|
|
|
|
|
|
|
+ functions_(check_ir_id),
|
|
|
|
|
+ cpp_overload_sets_(check_ir_id),
|
|
|
|
|
+ classes_(check_ir_id),
|
|
|
|
|
+ associated_constants_(check_ir_id),
|
|
|
impls_(*this),
|
|
impls_(*this),
|
|
|
- specific_interfaces_(IdTag(check_ir_id.index, 0)),
|
|
|
|
|
|
|
+ specific_interfaces_(check_ir_id_),
|
|
|
// The `+1` prevents adding a tag to the global `NameSpace::PackageInstId`
|
|
// The `+1` prevents adding a tag to the global `NameSpace::PackageInstId`
|
|
|
// instruction. It's not a "singleton" instruction, but it's a unique
|
|
// instruction. It's not a "singleton" instruction, but it's a unique
|
|
|
// instruction id that comes right after the singletons.
|
|
// instruction id that comes right after the singletons.
|