File tree Expand file tree Collapse file tree 4 files changed +1
-10
lines changed
stdlib/private/SwiftReflectionTest
validation-test/Reflection Expand file tree Collapse file tree 4 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -418,7 +418,7 @@ public func reflect(function: () -> ()) {
418
418
/// Call this function to indicate to the parent that there are
419
419
/// no more instances to look at.
420
420
public func doneReflecting( ) {
421
- sendValue ( InstanceKind . None. rawValue)
421
+ reflect ( instanceAddress : UInt ( InstanceKind . None. rawValue) , kind : . None )
422
422
}
423
423
424
424
/* Example usage
Original file line number Diff line number Diff line change 3
3
// RUN: %target-run %target-swift-reflection-test %t/example | FileCheck %s --check-prefix=CHECK-%target-ptrsize
4
4
// REQUIRES: objc_interop
5
5
6
- // rdar://problem/26230879
7
- // REQUIRES: OS=macosx
8
-
9
6
import SwiftReflectionTest
10
7
11
8
class Container {
Original file line number Diff line number Diff line change 3
3
// RUN: %target-run %target-swift-reflection-test %t/existentials | FileCheck %s --check-prefix=CHECK-%target-ptrsize
4
4
// REQUIRES: objc_interop
5
5
6
- // rdar://problem/26230879
7
- // REQUIRES: OS=macosx
8
-
9
6
/*
10
7
This file pokes at the swift_reflection_projectExistential API
11
8
of the SwiftRemoteMirror library.
Original file line number Diff line number Diff line change 3
3
// RUN: %target-run %target-swift-reflection-test %t/functions 2>&1 | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-%target-ptrsize
4
4
// REQUIRES: objc_interop
5
5
6
- // rdar://problem/26230879
7
- // REQUIRES: OS=macosx
8
-
9
6
/*
10
7
This file pokes at the swift_reflection_infoForInstance() API
11
8
of the SwiftRemoteMirror library.
You can’t perform that action at this time.
0 commit comments