Files
swift-mirror/test/decl/ext/Inputs/objc_implementation_internal.h
Becca Royal-Gordon b70ecfaf31 Support objcImpl + implementationOnly
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.
2024-02-19 17:13:51 -08:00

9 lines
107 B
Objective-C

@import Foundation;
@interface InternalObjCClass : NSObject
- (void)methodFromHeader1:(int)param;
@end