mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
`@_nonSendable` types get a synthesized, unavailable extension that declares the Sendable conformance. This extension also needs to have appropriate platform availability for the type that is being marked non-Sendable, so the platform-specific attributes are copied from the nominal type declaration. However, for nested types, we might need to copy those attributes from an enclosing declarations. Do so when appropriate. Fixes rdar://90330588.
1.6 KiB
1.6 KiB