|
|
@@ -319,7 +319,7 @@ static auto LookupMemberNameInScope(Context& context, SemIR::LocId loc_id,
|
|
|
// Witness that `T` implements the `assoc_interface`.
|
|
|
auto lookup_result = LookupImplWitness(
|
|
|
context, loc_id,
|
|
|
- context.constant_values().Get(base_as_type.inst_id),
|
|
|
+ context.types().GetConstantId(base_as_type.type_id),
|
|
|
EvalOrAddInst(
|
|
|
context, loc_id,
|
|
|
FacetTypeFromInterface(context, assoc_interface.interface_id,
|