Commit 0e98bf2
committed
Introduce missing Sendable conformances for existential conversions
When performing conversions to an existential that involves Sendable,
introducing missing conformances as needed to allow the type-check to
succeed and then (later) they'll be diagnosed appropriately.
Fixes rdar://89992095.1 parent 0fded01 commit 0e98bf2
File tree
5 files changed
+75
-8
lines changed- lib/Sema
- test/Concurrency
5 files changed
+75
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5401 | 5401 | | |
5402 | 5402 | | |
5403 | 5403 | | |
5404 | | - | |
| 5404 | + | |
5405 | 5405 | | |
5406 | 5406 | | |
5407 | 5407 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7106 | 7106 | | |
7107 | 7107 | | |
7108 | 7108 | | |
7109 | | - | |
| 7109 | + | |
| 7110 | + | |
7110 | 7111 | | |
7111 | 7112 | | |
7112 | 7113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5538 | 5538 | | |
5539 | 5539 | | |
5540 | 5540 | | |
5541 | | - | |
| 5541 | + | |
| 5542 | + | |
5542 | 5543 | | |
5543 | 5544 | | |
5544 | 5545 | | |
| |||
5560 | 5561 | | |
5561 | 5562 | | |
5562 | 5563 | | |
5563 | | - | |
5564 | | - | |
| 5564 | + | |
| 5565 | + | |
| 5566 | + | |
5565 | 5567 | | |
5566 | 5568 | | |
5567 | 5569 | | |
| |||
5579 | 5581 | | |
5580 | 5582 | | |
5581 | 5583 | | |
| 5584 | + | |
| 5585 | + | |
| 5586 | + | |
| 5587 | + | |
| 5588 | + | |
| 5589 | + | |
| 5590 | + | |
| 5591 | + | |
| 5592 | + | |
5582 | 5593 | | |
5583 | 5594 | | |
5584 | 5595 | | |
5585 | 5596 | | |
5586 | 5597 | | |
5587 | | - | |
5588 | | - | |
| 5598 | + | |
| 5599 | + | |
5589 | 5600 | | |
5590 | 5601 | | |
5591 | 5602 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
788 | 788 | | |
789 | 789 | | |
790 | 790 | | |
791 | | - | |
| 791 | + | |
| 792 | + | |
792 | 793 | | |
793 | 794 | | |
794 | 795 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
0 commit comments