@@ -48,12 +48,12 @@ func test_outside(distributed: D) async throws {
4848
4949 distributed. distHelloAsync ( ) // expected-error{{expression is 'async' but is not marked with 'await'}}
5050 // 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' }}
5252 // expected-note@-3{{did you mean to use 'try'?}}
5353 // expected-note@-4{{did you mean to disable error propagation?}}
5454 // expected-note@-5{{did you mean to handle error as optional value?}}
5555 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' }}
5757 await distributed. distHelloAsync ( ) // expected-error{{call can throw but is not marked with 'try'}}
5858 // expected-note@-1{{did you mean to use 'try'?}}
5959 // expected-note@-2{{did you mean to disable error propagation?}}
@@ -76,12 +76,12 @@ func test_outside(distributed: D) async throws {
7676
7777 distributed. distHelloAsyncThrows ( ) // expected-error{{expression is 'async' but is not marked with 'await'}}
7878 // 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' }}
8080 // expected-note@-3{{did you mean to use 'try'?}}
8181 // expected-note@-4{{did you mean to disable error propagation?}}
8282 // expected-note@-5{{did you mean to handle error as optional value?}}
8383 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' }}
8585 await distributed. distHelloAsyncThrows ( ) // expected-error{{call can throw but is not marked with 'try'}}
8686 // expected-note@-1{{did you mean to use 'try'?}}
8787 // expected-note@-2{{did you mean to disable error propagation?}}
0 commit comments