mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Member implementations are never directly visible to clients of a module, even if they are formally public, but TypeCheckAvailability did not know this. As a result, it would incorrectly diagnose member implementations in an objcImpl extension as violating @_implementationOnly import rules or other, similar access checks. This commit excludes them from being considered as exported declarations. Fixes rdar://121229058.
9 lines
107 B
Objective-C
9 lines
107 B
Objective-C
@import Foundation;
|
|
|
|
@interface InternalObjCClass : NSObject
|
|
|
|
- (void)methodFromHeader1:(int)param;
|
|
|
|
@end
|
|
|