Files
swift-mirror/test/SILGen/Inputs/objc_bridged_generic_nonnull.h
Joe Groff 84cd5cc04c Clang Importer: Set the ElementType of synthesized SubscriptDecls to the contextual generic type.
This matches what parsed SubscriptDecls do, avoiding a crash later in SILGen. Fixes rdar://problem/26632701.
2016-08-08 15:14:31 -07:00

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