mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Since Swift 3 and Swift 4 might have different views of an Objective-C API's nullability, we can end up with incompatible overrides, including with inherited initializers. This is unfortunate but also realistic; the Swift 3 code is /not/ set up to handle the new nullability used by Swift 4 and Objective-C. Just silence the warning. (It would be nice to not print inherited initializers at all, but that would mean making sure there are no convenience initializers we have to print as well. Otherwise the class would get mistaken for one without explicit designated initializers.) rdar://problem/32571301
45 lines
791 B
Plaintext
45 lines
791 B
Plaintext
module Base {
|
|
module ImplicitSub {
|
|
header "Base.ImplicitSub.h"
|
|
module ImSub {
|
|
header "Base.ImplicitSub.ImSub.h"
|
|
}
|
|
explicit module ExSub {
|
|
header "Base.ImplicitSub.ExSub.h"
|
|
}
|
|
}
|
|
explicit module ExplicitSub {
|
|
header "Base.ExplicitSub.h"
|
|
module ImSub {
|
|
header "Base.ExplicitSub.ImSub.h"
|
|
}
|
|
explicit module ExSub {
|
|
header "Base.ExplicitSub.ExSub.h"
|
|
}
|
|
}
|
|
}
|
|
|
|
module SingleGenericClass {
|
|
header "SingleGenericClass.h"
|
|
export *
|
|
}
|
|
|
|
module OverrideBase [system] {
|
|
header "override.h"
|
|
export *
|
|
}
|
|
|
|
module OtherModule {
|
|
// Deliberately empty. Used by depends-on-swift-framework.swift.
|
|
}
|
|
|
|
module CompatibilityAlias {
|
|
header "CompatibilityAlias.h"
|
|
export *
|
|
}
|
|
|
|
module VersionedFMWK {
|
|
header "VersionedFMWK.h"
|
|
export *
|
|
}
|