mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This matches what parsed SubscriptDecls do, avoiding a crash later in SILGen. Fixes rdar://problem/26632701.
12 lines
191 B
Objective-C
12 lines
191 B
Objective-C
@import Foundation;
|
|
|
|
@interface NonnullMembers<T> : NSObject
|
|
|
|
- (T _Nonnull) method;
|
|
|
|
@property (readonly) T _Nonnull property;
|
|
|
|
- (T _Nonnull)objectForKeyedSubscript:(id _Nonnull)key;
|
|
|
|
@end
|