We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18d4f63 commit ccf6209Copy full SHA for ccf6209
lib/IRGen/MetadataRequest.cpp
@@ -770,12 +770,11 @@ bool irgen::isNominalGenericContextTypeMetadataAccessTrivial(
770
return genericArgument && genericArgument->isGenericContext() &&
771
(protocols.size() > 0);
772
};
773
- auto isExistential = [&]() { return argument->isExistentialType(); };
774
auto metadataAccessIsTrivial = [&]() {
775
return irgen::isCompleteTypeMetadataStaticallyAddressable(IGM,
776
argument->getCanonicalType());
777
778
- return !isGenericWithoutPrespecializedConformance() && !isExistential() &&
+ return !isGenericWithoutPrespecializedConformance() &&
779
metadataAccessIsTrivial() && witnessTablesAreReferenceable();
780
});
781
return allWitnessTablesAreReferenceable
0 commit comments