Skip to content

Commit ab59e23

Browse files
committed
Merge remote-tracking branch 'origin/master' into master-rebranch
2 parents fd57783 + 6d534ec commit ab59e23

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

stdlib/public/runtime/ReflectionMirror.mm

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -774,6 +774,20 @@ AnyReturn subscript(intptr_t i, const char **outName,
774774
void (**outFreeFunc)(const char *)) {
775775
swift::crash("Cannot get children of Objective-C objects.");
776776
}
777+
778+
virtual intptr_t recursiveCount() {
779+
return 0;
780+
}
781+
782+
virtual intptr_t recursiveChildOffset(intptr_t index) {
783+
swift::crash("Cannot get children of Objective-C objects.");
784+
}
785+
virtual const FieldType recursiveChildMetadata(intptr_t index,
786+
const char **outName,
787+
void (**outFreeFunc)(const char *))
788+
{
789+
swift::crash("Cannot get children of Objective-C objects.");
790+
}
777791
};
778792
#endif
779793

0 commit comments

Comments
 (0)