mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 08:54:47 +01:00
Remove SymbolicBindingType (#7114)
This inst was meant to support tracking the depth of a `.Self` facet, but we have now implemented substitution of `.Self` in facet type identification, and in eval of where expressions, without needing to track the depth. See history here: - [2025-06-30](https://docs.google.com/document/d/1Yt-i5AmF76LSvD4TrWRIAE_92kii6j5yFiW-S7ahzlg/edit?tab=t.0#heading=h.4qd5dkyfn2k3) - [2025-07-07](https://docs.google.com/document/d/1Yt-i5AmF76LSvD4TrWRIAE_92kii6j5yFiW-S7ahzlg/edit?tab=t.0#heading=h.7urbxcq23olv) - #6026
This commit is contained in:
@@ -282,12 +282,6 @@ auto GetCanonicalFacetOrTypeValue(Context& context, SemIR::InstId inst_id)
|
||||
return access->facet_value_inst_id;
|
||||
}
|
||||
|
||||
if (auto access =
|
||||
context.insts().TryGetAs<SemIR::SymbolicBindingType>(const_inst_id)) {
|
||||
// TODO: Look in ScopeStack with the entity_name_id to find the facet value.
|
||||
return access->facet_value_inst_id;
|
||||
}
|
||||
|
||||
return const_inst_id;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user