mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
When an @_implementationOnly import includes Objective-C categories for existing types, it's useful to be able to override the members provided in those categories without exposing them to clients of the framework being built. Allow this as long as the overriding declaration is marked as @_implementationOnly itself, with an additional check that the type of the declaration does not change. (Normally overrides are allowed to change in covariant ways.) Part of rdar://50827914
10 lines
113 B
Plaintext
10 lines
113 B
Plaintext
module FooKit {
|
|
header "FooKit.h"
|
|
export *
|
|
}
|
|
|
|
module FooKit_SECRET {
|
|
header "FooKit_SECRET.h"
|
|
export *
|
|
}
|