mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
If two conformances imply a conformance to the same marker protocol, don't diagnose redundancy if they differ by unavailability. Instead, allow the more available conformance to win. This allows declaring a type that conforms to a protocol that inherits from SendableMetatype, followed by an unavailable Sendable conformance on the same type. Fixes rdar://152509409.
47 KiB
47 KiB