Commit 0a237ae
committed
[TypeChecker] Make sure that
If destination is marked as `@preconcurrency` the Sendable conformance
errors should be downgraded to warnings even in Swift 6 mode just like
for member and subscript references.
(cherry picked from commit f474588)@preconcurrency use is detected in assignments1 parent 7da00d4 commit 0a237ae
File tree
2 files changed
+8
-0
lines changed- lib/Sema
- test/Concurrency
2 files changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3701 | 3701 | | |
3702 | 3702 | | |
3703 | 3703 | | |
| 3704 | + | |
| 3705 | + | |
| 3706 | + | |
| 3707 | + | |
| 3708 | + | |
3704 | 3709 | | |
3705 | 3710 | | |
3706 | 3711 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
310 | 313 | | |
0 commit comments