mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Previously, when a pseudogeneric function returned a type parameter, it was unowned. That resulted in invalid OSSA out of SILGen. Here, this is fixed to use the @autoreleasing convention. rdar://64375208
13 lines
212 B
Objective-C
13 lines
212 B
Objective-C
@import Foundation;
|
|
|
|
@interface Base : NSObject
|
|
- (void)objCBaseMethod;
|
|
@property (nonatomic, strong) NSString *prop;
|
|
@end
|
|
|
|
@protocol Pettable
|
|
@end
|
|
|
|
@interface PettableContainer<T : id<Pettable>> : NSObject
|
|
@end
|