Skip to content

Commit 863bfb6

Browse files
committed
Update changelog to include SE-0323
Adding new async semantics to Swift 5.5
1 parent ec30fff commit 863bfb6

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,21 @@ CHANGELOG
2929
Swift 5.5
3030
---------
3131

32+
* [SE-0323][]:
33+
34+
The main function is executed with `MainActor` isolation applied, so functions
35+
and variables with `MainActor` isolation may be called and modified
36+
synchronously from the main function. If the main function is annotated with a
37+
global actor explicitly, it must be the main actor or an error is emitted. If
38+
no global actor annotation is present, the main function is implicitly run on
39+
the main actor.
40+
41+
The main function is executed synchronously up to the first suspension point.
42+
Any tasks enqueued by initializers in Objective-C or C++ will run after the
43+
main function runs to the first suspension point. At the suspension point, the
44+
main function suspends and the tasks are executed according to the Swift
45+
concurrency mechanisms.
46+
3247
* [SE-0313][]:
3348

3449
Parameters of actor type can be declared as `isolated`, which means that they

0 commit comments

Comments
 (0)