Commit 4651af1
committed
[Concurrency] Disallow global actor annotations on stored properties of structs.
They don't make sense because stored properties of structs have the
isolation of their enclosure values. Fixes rdar://708812531 parent 0861f7e commit 4651af1
File tree
3 files changed
+14
-1
lines changed- include/swift/AST
- lib/Sema
- test/attr
3 files changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4267 | 4267 | | |
4268 | 4268 | | |
4269 | 4269 | | |
| 4270 | + | |
| 4271 | + | |
4270 | 4272 | | |
4271 | 4273 | | |
4272 | 4274 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
409 | 418 | | |
410 | 419 | | |
411 | 420 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
| |||
0 commit comments