mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 21:10:12 +01:00
Remove todo in facet_type.cpp after exploration (#5950)
We looked at it in https://github.com/carbon-language/carbon-lang/pull/5947 and decided not to proceed with it.
This commit is contained in:
@@ -627,8 +627,6 @@ auto MakePeriodSelfFacetValue(Context& context, SemIR::TypeId self_type_id)
|
||||
// `None` because there is no equivalent non-symbolic value.
|
||||
.value_id = SemIR::InstId::None,
|
||||
}));
|
||||
// TODO: LookupOrAddName should (optionally?) take a callback to run and
|
||||
// construct the `inst_id` only if it's not found by lookup.
|
||||
auto existing =
|
||||
context.scope_stack().LookupOrAddName(SemIR::NameId::PeriodSelf, inst_id);
|
||||
// Shouldn't have any names in newly created scope.
|
||||
|
||||
Reference in New Issue
Block a user