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:
Dana Jansens
2026-04-27 19:04:59 +00:00
committed by GitHub
parent df6a5a50dc
commit 554b1b8d10
156 changed files with 8472 additions and 8687 deletions
-6
View File
@@ -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;
}