Files
swift-mirror/test/decl/ext/Inputs/objc_implementation_class_extension.h
Becca Royal-Gordon d33002cb34 Soften objcImpl selector conflict errors
The recent change to make objcImpl examine class extensions has collided with a workaround some projects were employing where they declared class extension member implementations `private`. Now that we’re checking class extensions in objcImpl extensions, this workaround is creating selector conflict errors in some circumstances. Soften selector conflict errors in objcImpl extensions to warnings so the affected projects continue to build.

Fixes rdar://123347290.
2024-02-23 21:15:17 -08:00

22 lines
470 B
Objective-C

@import Foundation;
@interface ObjCClass : NSObject
- (void)methodFromHeader1:(int)param;
- (void)methodFromHeader2:(int)param;
@property (readwrite) int propertyFromHeader1;
@property (readwrite) int propertyFromHeader2;
@end
@interface ObjCClass ()
- (void)extensionMethodFromHeader1:(int)param;
- (void)extensionMethodFromHeader2:(int)param;
@property (readwrite) int extensionPropertyFromHeader1;
@property (readwrite) int extensionPropertyFromHeader2;
@end