Commit 60dd394
committed
Make sure we propagate
The type checker is now permitting `@Sendable` closures whose captures
can be by-reference, because we do not error. Remove an aspirational
SIL verifier check that banned this.@preconcurrency to closures consistently.1 parent eeb3963 commit 60dd394
File tree
3 files changed
+11
-13
lines changed- lib
- SIL/Verifier
- Sema
- test/SIL
3 files changed
+11
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1839 | 1839 | | |
1840 | 1840 | | |
1841 | 1841 | | |
1842 | | - | |
1843 | | - | |
1844 | | - | |
1845 | 1842 | | |
1846 | 1843 | | |
1847 | 1844 | | |
1848 | 1845 | | |
1849 | 1846 | | |
1850 | 1847 | | |
1851 | 1848 | | |
1852 | | - | |
1853 | | - | |
1854 | | - | |
1855 | | - | |
1856 | | - | |
1857 | | - | |
1858 | | - | |
1859 | | - | |
1860 | 1849 | | |
1861 | 1850 | | |
1862 | 1851 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5706 | 5706 | | |
5707 | 5707 | | |
5708 | 5708 | | |
5709 | | - | |
| 5709 | + | |
| 5710 | + | |
| 5711 | + | |
| 5712 | + | |
| 5713 | + | |
| 5714 | + | |
| 5715 | + | |
| 5716 | + | |
| 5717 | + | |
5710 | 5718 | | |
| 5719 | + | |
5711 | 5720 | | |
5712 | 5721 | | |
5713 | 5722 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments