mirror of
https://github.com/apple/swift.git
synced 2026-10-24 20:15:56 +02:00
If the context indicates that the result of `id-to-Any` should be placed in some pre-allocated buffer, let's not attempt marker existential transformation because that would much the expected layout already.
8 lines
309 B
Objective-C
8 lines
309 B
Objective-C
@import Foundation;
|
|
|
|
@interface NSBlah: NSObject
|
|
- (void) takeSendable: (id __attribute__((swift_attr("@Sendable")))) x;
|
|
@property(readonly) id __attribute__((swift_attr("@Sendable"))) x;
|
|
- (nullable __attribute__((swift_attr("@Sendable"))) id)test:(NSError *_Nullable __autoreleasing * _Nullable)error;
|
|
@end
|