File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 58
58
// REQUIRES: concurrency
59
59
// REQUIRES: distributed
60
60
61
+ // Locating the built libraries failed on Linux (construction of test case),
62
+ // but we primarily care about macOS in this test
63
+ // UNSUPPORTED: OS=linux-gnu
64
+
61
65
// UNSUPPORTED: use_os_stdlib
62
66
// UNSUPPORTED: back_deployment_runtime
63
67
@@ -95,15 +99,16 @@ import FakeDistributedActorSystems
95
99
@main struct Main {
96
100
static func main( ) async {
97
101
let system = FakeRoundtripActorSystem ( )
98
- let impl = Impl ( actorSystem: system)
99
- let anyAct : any SomeProtocol = impl
100
102
101
103
print ( " start " )
102
104
105
+ let impl = Impl ( actorSystem: system)
106
+
107
+ let anyAct : any SomeProtocol = impl
103
108
let anyReply = try ! await anyAct. function ( )
104
109
print ( " any reply = \( anyReply) " ) // CHECK: any reply = Success!
105
110
106
- let proxy = try ! Impl . resolve ( id: impl. id, using: system)
111
+ let proxy : any SomeProtocol = try ! Impl . resolve ( id: impl. id, using: system)
107
112
let proxyReply = try ! await proxy. function ( )
108
113
print ( " proxy reply = \( proxyReply) " ) // CHECK: proxy reply = Success!
109
114
You can’t perform that action at this time.
0 commit comments