Commit d606c94
committed
[Concurrency] Allow
When `NonisolatedNonsendingByDefault` is enabled it should infer
`nonisolated(nonsending)` for both async functions and storage as
specified by the proposal.
(cherry picked from commit 8a9bbd5)nonisolated(nonsending) inference on properties with async getters1 parent 23e21ff commit d606c94
File tree
2 files changed
+27
-13
lines changed- lib/Sema
- test/SILGen
2 files changed
+27
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4951 | 4951 | | |
4952 | 4952 | | |
4953 | 4953 | | |
4954 | | - | |
4955 | | - | |
4956 | | - | |
4957 | | - | |
| 4954 | + | |
| 4955 | + | |
| 4956 | + | |
| 4957 | + | |
| 4958 | + | |
4958 | 4959 | | |
4959 | 4960 | | |
4960 | 4961 | | |
| |||
5815 | 5816 | | |
5816 | 5817 | | |
5817 | 5818 | | |
5818 | | - | |
| 5819 | + | |
5819 | 5820 | | |
5820 | | - | |
5821 | | - | |
5822 | | - | |
| 5821 | + | |
5823 | 5822 | | |
5824 | 5823 | | |
5825 | 5824 | | |
| |||
6232 | 6231 | | |
6233 | 6232 | | |
6234 | 6233 | | |
6235 | | - | |
6236 | | - | |
6237 | | - | |
6238 | | - | |
6239 | | - | |
| 6234 | + | |
| 6235 | + | |
6240 | 6236 | | |
6241 | 6237 | | |
6242 | 6238 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
0 commit comments