Commit 9104744
committed
[Concurrency] Fix
SILGen expects actor instance isolation to always come from captures,
we need to maintain that with implicit isolation capture performed by
`@_inheritActorContext(always)`.@_inheritActorContext(always) to use forActorInstanceCapture for parameters1 parent a0aad5c commit 9104744
File tree
2 files changed
+26
-4
lines changed- lib/Sema
- test/SILGen
2 files changed
+26
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4781 | 4781 | | |
4782 | 4782 | | |
4783 | 4783 | | |
| 4784 | + | |
| 4785 | + | |
| 4786 | + | |
4784 | 4787 | | |
4785 | 4788 | | |
4786 | | - | |
| 4789 | + | |
| 4790 | + | |
| 4791 | + | |
| 4792 | + | |
| 4793 | + | |
4787 | 4794 | | |
4788 | | - | |
4789 | | - | |
4790 | | - | |
| 4795 | + | |
4791 | 4796 | | |
4792 | 4797 | | |
4793 | 4798 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| 328 | + | |
328 | 329 | | |
329 | 330 | | |
330 | 331 | | |
| |||
385 | 386 | | |
386 | 387 | | |
387 | 388 | | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
388 | 405 | | |
389 | 406 | | |
390 | 407 | | |
| |||
0 commit comments