Files
swift-mirror/test/decl/ext/Inputs/objc_implementation_private.modulemap
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
176 B
Plaintext

module objc_implementation_private {
header "objc_implementation.h"
export *
}
module objc_implementation_internal {
header "objc_implementation_internal.h"
export *
}