mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Add facet_types() accessor to Check::Context (#4518)
Co-authored-by: Josh L <josh11b@users.noreply.github.com>
This commit is contained in:
@@ -180,7 +180,7 @@ static auto ExtendImpl(Context& context, Parse::NodeId extend_node,
|
||||
return;
|
||||
}
|
||||
const SemIR::FacetTypeInfo& info =
|
||||
context.sem_ir().facet_types().Get(facet_type->facet_type_id);
|
||||
context.facet_types().Get(facet_type->facet_type_id);
|
||||
for (auto interface_type : info.impls_constraints) {
|
||||
auto& interface = context.interfaces().Get(interface_type.interface_id);
|
||||
if (!interface.is_defined()) {
|
||||
|
||||
Reference in New Issue
Block a user