Patch expectedLazyNoGenerics.h to corresond with new test (#4271)
This commit is contained in:
@@ -518,6 +518,28 @@ __attribute__((swift_name("TestGH3992.B")))
|
||||
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||
@end;
|
||||
|
||||
__attribute__((objc_subclassing_restricted))
|
||||
__attribute__((swift_name("KDocExport")))
|
||||
@interface KtKDocExport : KtBase
|
||||
- (instancetype)initWithName:(NSString *)name __attribute__((swift_name("init(name:)"))) __attribute__((objc_designated_initializer));
|
||||
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer));
|
||||
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead")));
|
||||
@property (readonly) NSString *xyzzy __attribute__((swift_name("xyzzy")));
|
||||
@property (readonly) NSString *foo __attribute__((swift_name("foo")));
|
||||
@property int32_t yxxyz __attribute__((swift_name("yxxyz")));
|
||||
@end;
|
||||
|
||||
__attribute__((objc_subclassing_restricted))
|
||||
__attribute__((swift_name("KdocExportKt")))
|
||||
@interface KtKdocExportKt : KtBase
|
||||
|
||||
/**
|
||||
@note This method converts instances of IllegalArgumentException to errors.
|
||||
Other uncaught Kotlin exceptions are fatal.
|
||||
*/
|
||||
+ (NSString * _Nullable)whateverA:(NSString *)a error:(NSError * _Nullable * _Nullable)error __attribute__((swift_name("whatever(a:)")));
|
||||
@end;
|
||||
|
||||
__attribute__((objc_subclassing_restricted))
|
||||
__attribute__((swift_name("Kt35940Kt")))
|
||||
@interface KtKt35940Kt : KtBase
|
||||
|
||||
Reference in New Issue
Block a user