@@ -45,8 +45,19 @@ patterns.
45
45
46
46
Needless to say, not all upcoming features fall under these criteria (and not
47
47
all features are source-breaking in the first place). Consider
48
- [ ` ConciseMagicFile ` ] [ SE-0274 ] , which changes the meaning of an existing
49
- literal.
48
+ [ ` DisableOutwardActorInference ` ] [ SE-0401 ] , which changes actor isolation
49
+ inference of a type that contains an actor-isolated property wrapper. There
50
+ is no way for the programmer to specify that they'd like compiler fix-its to
51
+ make the existing actor isolation inference explicit. If they enable the
52
+ upcoming feature, their code will simply behave differently. This was a
53
+ point of debate in the review of SE-0401, and the Language Steering Group
54
+ concluded that automatic migration tooling is the right way to address this
55
+ particular workflow, as [ noted in the acceptance notes] [ SE-0401-acceptance:
56
+
57
+ > the Language Steering Group believes that separate migration tooling to
58
+ > help programmers audit code whose behavior will change under Swift 6 mode
59
+ > would be beneficial for all upcoming features that can change behavior
60
+ > without necessarily emitting errors.
50
61
51
62
### Automation
52
63
@@ -328,3 +339,4 @@ Special thanks to Holly for her guidance throughout the draft stage.
328
339
[ SE-0434 ] : https://github.com/swiftlang/swift-evolution/blob/main/proposals/0434-global-actor-isolated-types-usability.md
329
340
[ SE-0444 ] : https://github.com/swiftlang/swift-evolution/blob/main/proposals/0444-member-import-visibility.md
330
341
[ async-inherit-isolation-pitch ] : https://forums.swift.org/t/pitch-inherit-isolation-by-default-for-async-functions/74862
342
+ [ SE-0401-acceptance ] : https://forums.swift.org/t/accepted-with-modifications-se-0401-remove-actor-isolation-inference-caused-by-property-wrappers/66241
0 commit comments