mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +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
176 B
Plaintext
9 lines
176 B
Plaintext
module objc_implementation_private {
|
|
header "objc_implementation.h"
|
|
export *
|
|
}
|
|
module objc_implementation_internal {
|
|
header "objc_implementation_internal.h"
|
|
export *
|
|
}
|