Add facet_types() accessor to Check::Context (#4518)

Co-authored-by: Josh L <josh11b@users.noreply.github.com>
This commit is contained in:
josh11b
2024-11-13 01:20:07 +00:00
committed by GitHub
co-authored by Josh L
parent e0e305536e
commit 39ed62dad7
11 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -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()) {