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:
Dana Jansens
2025-08-13 16:01:31 +00:00
committed by GitHub
parent 52972ea83d
commit 2140a57294
-2
View File
@@ -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.