Commit fcf6ed7
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`.
(cherry picked from commit 69b2435)1 parent 1db020d commit fcf6ed7
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 | |
|---|---|---|---|
| |||
6186 | 6186 | | |
6187 | 6187 | | |
6188 | 6188 | | |
6189 | | - | |
| 6189 | + | |
| 6190 | + | |
| 6191 | + | |
| 6192 | + | |
| 6193 | + | |
6190 | 6194 | | |
6191 | 6195 | | |
6192 | 6196 | | |
| |||
| 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