@@ -204,7 +204,7 @@ actor MyActor {
204
204
205
205
Changing the default execution semantics of async functions can change the
206
206
behavior of existing code, so the change is gated behind the
207
- ` AsyncCallerExecution ` upcoming feature flag. To help stage in the new
207
+ ` NonisolatedNonsendingByDefault ` upcoming feature flag. To help stage in the new
208
208
behavior, new syntax can be used to explicitly specify the
209
209
execution semantics of an async function in any language mode.
210
210
@@ -249,15 +249,15 @@ actor MyActor {
249
249
250
250
` @concurrent ` is the current default for nonisolated async
251
251
functions. ` nonisolated(nonsending) ` will become the default for async functions
252
- when the ` AsyncCallerExecution ` upcoming feature is enabled.
252
+ when the ` NonisolatedNonsendingByDefault ` upcoming feature is enabled.
253
253
254
254
## Detailed design
255
255
256
256
The sections below will explicitly use ` @concurrent ` and
257
257
` nonisolated(nonsending) ` to demonstrate examples that will behave consistently
258
258
independent of upcoming features or language modes. However, note that the
259
- end state under the ` AsyncCallerExecution ` upcoming feature will mean that
260
- ` (nonsending) ` is not necessary to explicitly write, and
259
+ end state under the ` NonisolatedNonsendingByDefault ` upcoming feature will mean
260
+ that ` (nonsending) ` is not necessary to explicitly write, and
261
261
` @concurrent ` will likely be used sparingly because it has far
262
262
stricter data-race safety requirements.
263
263
@@ -1119,8 +1119,8 @@ The proposal was revised with the following changes after the first review:
1119
1119
1120
1120
The proposal was revised with the following changes after the pitch discussion:
1121
1121
1122
- * Gate the behavior change behind an ` AsyncCallerExecution ` upcoming feature
1123
- flag.
1122
+ * Gate the behavior change behind an ` NonisolatedNonsendingByDefault ` upcoming
1123
+ feature flag.
1124
1124
* Change the spelling of ` @concurrent ` to ` @execution(concurrent) ` , and add an
1125
1125
` @execution(caller) ` attribute to allow expressing the new behavior this
1126
1126
proposal introduces when the upcoming feature flag is not enabled.
0 commit comments