Pavel Yaskevich
d868e68cd2
[Concurrency] Allow conditionally conforming to Sendable when conformance is suppressed
...
For consistency with invertible protocols using `~Sendable` should
only prohibit use of unconditional extensions.
For example:
```swift
struct G<T>: ~Sendable {}
```
The following (unconditional) extension is rejected:
```
extension G: Sendable {} // error: cannot both conform to and suppress conformance to 'Sendable'
```
But conditional on `T` is accepted:
```
extension G: Sendable where T: Sendable {} // Ok!
```
2025-11-19 16:46:29 -08:00
..
2025-11-18 09:32:28 -08:00
2025-11-03 21:23:12 -05:00
2025-11-04 11:34:05 -08:00
2025-11-07 14:01:35 -08:00
2025-11-07 22:00:40 -08:00
2025-11-12 14:48:19 -05:00
2025-11-10 09:26:28 -08:00
2025-11-13 12:20:31 -08:00
2025-11-17 13:18:59 -08:00
2025-11-10 11:31:24 -08:00
2025-11-16 11:47:21 +00:00
2025-11-16 09:21:12 -08:00
2025-11-10 18:41:07 -08:00
2025-11-12 14:48:19 -05:00
2025-11-06 21:00:44 +01:00
2025-11-10 04:49:32 +00:00
2025-11-17 12:48:48 -08:00
2025-11-05 18:45:34 -08:00
2025-10-31 17:53:59 +00:00
2025-11-17 13:07:36 +00:00
2025-10-30 14:36:29 +01:00
2025-11-12 22:18:17 -08:00
2025-11-18 18:51:12 +00:00
2025-11-11 17:00:03 -08:00
2025-11-16 23:10:20 +09:00
2025-11-13 12:02:17 -08:00
2025-11-16 18:29:37 +00:00
2025-11-19 16:46:29 -08:00
2025-11-10 04:49:41 +00:00
2025-11-06 19:33:09 +00:00
2025-11-16 11:47:21 +00:00
2025-11-13 03:59:17 +00:00
2025-11-12 21:03:15 -08:00
2025-11-19 16:46:29 -08:00
2025-11-12 10:42:58 -08:00
2025-11-11 17:29:45 -08:00
2025-11-13 18:39:08 -08:00
2025-11-18 15:34:22 +00:00
2025-11-12 10:46:21 -08:00
2025-11-18 09:32:28 -08:00
2025-11-17 13:07:36 +00:00
2025-11-06 19:30:44 -08:00
2025-11-13 15:03:35 -08:00
2025-11-16 11:47:21 +00:00
2025-11-11 16:35:00 -08:00
2025-11-17 09:35:28 -08:00
2025-11-11 16:33:43 -08:00