File tree Expand file tree Collapse file tree 4 files changed +16
-7
lines changed Expand file tree Collapse file tree 4 files changed +16
-7
lines changed Original file line number Diff line number Diff line change
1
+ .docc-build
Original file line number Diff line number Diff line change 1
1
# ` AsyncCallerExecution `
2
2
3
- Proposed in [ SE-0461 ] , this feature changes the behavior of nonisolated async
3
+ This feature changes the behavior of nonisolated async
4
4
functions to run on the actor to which the caller is isolated (if any) by
5
5
default, and provides an explicit way to express the execution semantics for
6
- these functions:
6
+ these functions.
7
+
8
+ This feature was proposed in [ SE-0461] ( https://github.com/swiftlang/swift-evolution/blob/main/proposals/0461-async-function-isolation.md )
9
+
7
10
* The ` @execution(concurrent) ` attribute specifies that a function must always
8
11
switch off of an actor to run.
9
12
This is the default behavior without ` AsyncCallerExecution ` .
10
13
* The ` @execution(caller) ` attribute specifies that a function must always
11
14
run on the caller's actor.
12
15
This is the default behavior with ` AsyncCallerExecution ` .
13
-
14
- [ SE-0461 ] : https://github.com/swiftlang/swift-evolution/blob/main/proposals/0461-async-function-isolation.md
Original file line number Diff line number Diff line change
1
+ # Swift Compiler Diagnostics
2
+
3
+ @Metadata {
4
+ @TechnologyRoot
5
+ }
6
+
7
+ Documentation on diagnostics emitted by the compiler.
Original file line number Diff line number Diff line change 1
1
# ` ExistentialAny `
2
2
3
3
This diagnostic group includes errors and warnings pertaining to the ` any ` type
4
- syntax proposed in [ SE-0335] .
4
+ syntax.
5
+
6
+ This syntax was proposed in [ SE-0335] ( https://github.com/swiftlang/swift-evolution/blob/main/proposals/0335-existential-any.md ) .
5
7
` any ` syntax draws a line between constraint types and existential or boxed
6
8
types.
7
9
@@ -20,5 +22,3 @@ func sillyFunction(collection: Collection) { // error
20
22
// ...
21
23
}
22
24
```
23
-
24
- [ SE-0335 ] : https://github.com/swiftlang/swift-evolution/blob/main/proposals/0335-existential-any.md
You can’t perform that action at this time.
0 commit comments