You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/Distributed/distributed_actor_inference.swift
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -42,12 +42,12 @@ protocol DP {
42
42
}
43
43
44
44
protocolDPOK:DistributedActor{
45
-
distributedfunc hello() // FIXME(distributed): not possible today...
45
+
distributedfunc hello() // FIXME(distributed): rdar://95949498 currently we are limited to explicitly 'async throws' protocol requirements that are distributed funcs
46
46
// expected-error@-1{{'distributed' protocol requirement 'hello()' must currently be declared explicitly 'async throws'}}
47
47
}
48
48
49
49
protocolDPOK2:DPOK{
50
-
distributedfunc again() // FIXME(distributed): not possible today...
50
+
distributedfunc again() // FIXME(distributed): rdar://95949498 currently we are limited to explicitly 'async throws' protocol requirements that are distributed funcs
51
51
// expected-error@-1{{'distributed' protocol requirement 'again()' must currently be declared explicitly 'async throws'}}
// distributed func dist() // FIXME(distributed): not possible today...
41
-
// distributed func distAsync() async // FIXME(distributed): not possible today...
40
+
// distributed func dist() // FIXME(distributed): rdar://95949498 currently we are limited to explicitly 'async throws' protocol requirements that are distributed funcs
41
+
// distributed func distAsync() async // FIXME(distributed): rdar://95949498 currently we are limited to explicitly 'async throws' protocol requirements that are distributed funcs
distributedfunc dist() // FIXME(distributed): not possible today...
46
+
distributedfunc dist() // FIXME(distributed): rdar://95949498 currently we are limited to explicitly 'async throws' protocol requirements that are distributed funcs
47
47
// expected-error@-1{{'distributed' protocol requirement 'dist()' must currently be declared explicitly 'async throws'}}
48
-
distributedfunc distAsync()async // FIXME(distributed): not possible today...
48
+
distributedfunc distAsync()async // FIXME(distributed): rdar://95949498 currently we are limited to explicitly 'async throws' protocol requirements that are distributed funcs
49
49
// expected-error@-1{{'distributed' protocol requirement 'distAsync()' must currently be declared explicitly 'async throws'}}
50
-
distributedfunc distThrows()throws // FIXME(distributed): not possible today...
50
+
distributedfunc distThrows()throws // FIXME(distributed): rdar://95949498 currently we are limited to explicitly 'async throws' protocol requirements that are distributed funcs
51
51
// expected-error@-1{{'distributed' protocol requirement 'distThrows()' must currently be declared explicitly 'async throws'}}
distributedfunc dist()->String // FIXME(distributed): not possible today...
28
+
distributedfunc dist()->String // FIXME(distributed): rdar://95949498 currently we are limited to explicitly 'async throws' protocol requirements that are distributed funcs
29
29
// expected-error@-1{{'distributed' protocol requirement 'dist()' must currently be declared explicitly 'async throws'}}
30
-
distributedfunc dist(string:String)->String // FIXME(distributed): not possible today...
30
+
distributedfunc dist(string:String)->String // FIXME(distributed): rdar://95949498 currently we are limited to explicitly 'async throws' protocol requirements that are distributed funcs
31
31
// expected-error@-1{{'distributed' protocol requirement 'dist(string:)' must currently be declared explicitly 'async throws'}}
32
32
33
-
distributedfunc distAsync()async->String // FIXME(distributed): not possible today...
33
+
distributedfunc distAsync()async->String // FIXME(distributed): rdar://95949498 currently we are limited to explicitly 'async throws' protocol requirements that are distributed funcs
34
34
// expected-error@-1{{'distributed' protocol requirement 'distAsync()' must currently be declared explicitly 'async throws'}}
35
-
distributedfunc distThrows()throws->String // FIXME(distributed): not possible today...
35
+
distributedfunc distThrows()throws->String // FIXME(distributed): rdar://95949498 currently we are limited to explicitly 'async throws' protocol requirements that are distributed funcs
36
36
// expected-error@-1{{'distributed' protocol requirement 'distThrows()' must currently be declared explicitly 'async throws'}}
distributedfunc unexpectedAsyncThrows()->String // FIXME(distributed): not possible today...
260
+
distributedfunc unexpectedAsyncThrows()->String // FIXME(distributed): rdar://95949498 currently we are limited to explicitly 'async throws' protocol requirements that are distributed funcs
261
261
// expected-error@-1{{'distributed' protocol requirement 'unexpectedAsyncThrows()' must currently be declared explicitly 'async throws'}}
262
262
// expected-note@-2{{protocol requires function 'unexpectedAsyncThrows()' with type '() -> String'; do you want to add a stub?}}
distributedfunc test()->NotCodable // FIXME(distributed): not possible today...
13
+
distributedfunc test()->NotCodable // FIXME(distributed): rdar://95949498 currently we are limited to explicitly 'async throws' protocol requirements that are distributed funcs
14
14
// expected-error@-1{{'distributed' protocol requirement 'test()' must currently be declared explicitly 'async throws'}}
Copy file name to clipboardExpand all lines: test/decl/protocol/special/DistributedActor.swift
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ distributed actor D4 {
64
64
}
65
65
66
66
protocolP1:DistributedActor{
67
-
distributedfunc dist()->String // FIXME(distributed): not possible today...
67
+
distributedfunc dist()->String // FIXME(distributed): rdar://95949498 currently we are limited to explicitly 'async throws' protocol requirements that are distributed funcs
68
68
// expected-error@-1{{'distributed' protocol requirement 'dist()' must currently be declared explicitly 'async throws'}}
0 commit comments