Skip to content

Commit f0e17af

Browse files
committed
[NCGenerics] fix _bridgeAnythingToObjectiveC
Now that there's an actual conformance requirement in the generic signature, we need a real conformance lookup function.
1 parent a9321d0 commit f0e17af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SILGen/SILGenBridging.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ static ManagedValue emitNativeToCBridgedNonoptionalValue(SILGenFunction &SGF,
759759
[&](SubstitutableType *t) -> Type {
760760
return nativeType;
761761
},
762-
MakeAbstractConformanceForGenericType());
762+
LookUpConformanceInModule(SGF.SGM.SwiftModule));
763763

764764
// The intrinsic takes a T; reabstract to the generic abstraction
765765
// pattern.

0 commit comments

Comments
 (0)