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
@@ -224,7 +224,7 @@ auto BuildImplWitness(Context& context, SemIR::ImplId impl_id)
return SemIR::InstId::BuiltinError;
}
const SemIR::FacetTypeInfo& facet_type_info =
context.sem_ir().facet_types().Get(facet_type->facet_type_id);
context.facet_types().Get(facet_type->facet_type_id);
auto interface = facet_type_info.TryAsSingleInterface();
if (!interface) {