Commit 69b2435
committed
[Concurrency] Don't warn about re-stating inherited unavailable conformances
to `Sendable`.
The unavailability check was not using the root conformance, which is where
the extension declaration with the unavailability attribute is for inherited
conformances, leading to bogus warnings about re-stating unchecked conformances
to `Sendable`.1 parent 3349e61 commit 69b2435
File tree
2 files changed
+13
-1
lines changed- lib/Sema
- test/Concurrency
2 files changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6195 | 6195 | | |
6196 | 6196 | | |
6197 | 6197 | | |
6198 | | - | |
| 6198 | + | |
| 6199 | + | |
| 6200 | + | |
| 6201 | + | |
| 6202 | + | |
6199 | 6203 | | |
6200 | 6204 | | |
6201 | 6205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
383 | 391 | | |
384 | 392 | | |
385 | 393 | | |
| |||
0 commit comments