mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 10:44:41 +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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user