@@ -204,7 +204,7 @@ actor MyActor {
204204
205205Changing the default execution semantics of async functions can change the
206206behavior 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
208208behavior, new syntax can be used to explicitly specify the
209209execution semantics of an async function in any language mode.
210210
@@ -249,15 +249,15 @@ actor MyActor {
249249
250250` @concurrent ` is the current default for nonisolated async
251251functions. ` 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.
253253
254254## Detailed design
255255
256256The sections below will explicitly use ` @concurrent ` and
257257` nonisolated(nonsending) ` to demonstrate examples that will behave consistently
258258independent 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
261261` @concurrent ` will likely be used sparingly because it has far
262262stricter data-race safety requirements.
263263
@@ -1119,8 +1119,8 @@ The proposal was revised with the following changes after the first review:
11191119
11201120The proposal was revised with the following changes after the pitch discussion:
11211121
1122- * Gate the behavior change behind an ` AsyncCallerExecution ` upcoming feature
1123- flag.
1122+ * Gate the behavior change behind an ` NonisolatedNonsendingByDefault ` upcoming
1123+ feature flag.
11241124* Change the spelling of ` @concurrent ` to ` @execution(concurrent) ` , and add an
11251125 ` @execution(caller) ` attribute to allow expressing the new behavior this
11261126 proposal introduces when the upcoming feature flag is not enabled.
0 commit comments