Skip to content

Commit edd118a

Browse files
committed
[Runtime] Fix dynamic cast call for non-ObjC runtime
1 parent 43df05a commit edd118a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stdlib/public/runtime/DynamicCast.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2353,7 +2353,8 @@ tryCast(
23532353
// Try unwrapping native __SwiftValue implementation
23542354
auto subcastResult = tryCastUnwrappingSwiftValueSource(
23552355
destLocation, destType, srcValue, srcType,
2356-
destFailureType, srcFailureType, takeOnSuccess, mayDeferChecks);
2356+
destFailureType, srcFailureType, takeOnSuccess, mayDeferChecks,
2357+
prohibitIsolatedConformances);
23572358
if (isSuccess(subcastResult)) {
23582359
return subcastResult;
23592360
}

0 commit comments

Comments
 (0)