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.
2 parents 7666a6e + c187b5e commit 0626dc7Copy full SHA for 0626dc7
lib/IRGen/Linking.cpp
@@ -988,8 +988,8 @@ DeclContext *LinkEntity::getDeclContextForEmission() const {
988
case Kind::ReflectionAssociatedTypeDescriptor:
989
case Kind::ProtocolWitnessTableLazyCacheVariable:
990
case Kind::ProtocolWitnessTableLazyAccessFunction:
991
- return getRootProtocolConformance()->getDeclContext();
992
-
+ return getProtocolConformance()->getDeclContext();
+
993
case Kind::TypeMetadata: {
994
auto ty = getType();
995
// Only fully concrete nominal type metadata gets emitted eagerly.
0 commit comments