@@ -48,12 +48,12 @@ func test_outside(distributed: D) async throws {
48
48
49
49
distributed. distHelloAsync ( ) // expected-error{{expression is 'async' but is not marked with 'await'}}
50
50
// expected-error@-1{{call can throw but is not marked with 'try'}}
51
- // expected-note@-2{{calls to instance method 'distHelloAsync()' from outside of its actor context are implicitly asynchronous }}
51
+ // expected-note@-2{{call is 'async' }}
52
52
// expected-note@-3{{did you mean to use 'try'?}}
53
53
// expected-note@-4{{did you mean to disable error propagation?}}
54
54
// expected-note@-5{{did you mean to handle error as optional value?}}
55
55
try distributed. distHelloAsync ( ) // expected-error{{expression is 'async' but is not marked with 'await'}}
56
- // expected-note@-1{{calls to instance method 'distHelloAsync()' from outside of its actor context are implicitly asynchronous }}
56
+ // expected-note@-1{{call is 'async' }}
57
57
await distributed. distHelloAsync ( ) // expected-error{{call can throw but is not marked with 'try'}}
58
58
// expected-note@-1{{did you mean to use 'try'?}}
59
59
// expected-note@-2{{did you mean to disable error propagation?}}
@@ -76,12 +76,12 @@ func test_outside(distributed: D) async throws {
76
76
77
77
distributed. distHelloAsyncThrows ( ) // expected-error{{expression is 'async' but is not marked with 'await'}}
78
78
// expected-error@-1{{call can throw but is not marked with 'try'}}
79
- // expected-note@-2{{calls to instance method 'distHelloAsyncThrows()' from outside of its actor context are implicitly asynchronous }}
79
+ // expected-note@-2{{call is 'async' }}
80
80
// expected-note@-3{{did you mean to use 'try'?}}
81
81
// expected-note@-4{{did you mean to disable error propagation?}}
82
82
// expected-note@-5{{did you mean to handle error as optional value?}}
83
83
try distributed. distHelloAsyncThrows ( ) // expected-error{{expression is 'async' but is not marked with 'await'}}
84
- // expected-note@-1{{calls to instance method 'distHelloAsyncThrows()' from outside of its actor context are implicitly asynchronous }}
84
+ // expected-note@-1{{call is 'async' }}
85
85
await distributed. distHelloAsyncThrows ( ) // expected-error{{call can throw but is not marked with 'try'}}
86
86
// expected-note@-1{{did you mean to use 'try'?}}
87
87
// expected-note@-2{{did you mean to disable error propagation?}}
0 commit comments