Files
swift-mirror/test/Sema/Inputs/implementation-only-override/FooKit.h
Jordan Rose 44227fef96 Add test cases for when a property/subscript is redeclared readwrite
And improve the comment around the FIXME for this, which is tricky to
implement.
2019-06-17 17:48:40 -07:00

19 lines
518 B
Objective-C

@interface Base
@end
@interface Parent : Base
- (nonnull instancetype)init __attribute__((objc_designated_initializer));
// The SECRET is on a non-secret property here because we need to enforce that
// it's not printed.
@property (readonly, strong, nullable) Parent *redefinedPropSECRET;
@end
@interface GenericParent<T: Base *> : Base
- (nonnull instancetype)init __attribute__((objc_designated_initializer));
@end
@interface SubscriptParent : Base
- (nullable Parent *)objectAtIndexedSubscript:(int)index;
@end