Commit a5e6d31
committed
[Concurrency] Fix disallowed override isolation to carry
If ObjC member cannot be overridden due to isolation mismatch set `@preconcurrency`
bit to make the diagnostic a warning instead of an error in Swift 5 mode.
Resolves: rdar://130776220
(cherry picked from commit f7d3230)@preconcurrency bit1 parent 43dbffe commit a5e6d31
File tree
2 files changed
+19
-1
lines changed- lib/Sema
- test/ClangImporter
2 files changed
+19
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5274 | 5274 | | |
5275 | 5275 | | |
5276 | 5276 | | |
5277 | | - | |
| 5277 | + | |
| 5278 | + | |
| 5279 | + | |
| 5280 | + | |
| 5281 | + | |
| 5282 | + | |
5278 | 5283 | | |
5279 | 5284 | | |
5280 | 5285 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
0 commit comments