mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
`@_nonSendable` on a type effectively desugars to an unavailable extension that provides (`@unchecked`) conformance to the `Sendable` protocol. Make sure we copy over platform availability so that the extension does not promise greater availability than the type it extends. Fixes rdar://90330588.
1.0 KiB
1.0 KiB