mirror of
https://github.com/apple/swift.git
synced 2026-06-27 12:25:55 +02:00
b7bcc294ea
In the Clang importer, and only in submodules, the first protocol typedef with NSObject that we try to import results in a hidden lookup result. So, allow hidden lookups, which is benign and failure is actually an issue of a malformed header. Gracefully handles failure. Test case included that will reproduce the issue if AllowHidden is disabled.
13 lines
188 B
Plaintext
13 lines
188 B
Plaintext
module OmitNeedlessWords {
|
|
export *
|
|
header "OmitNeedlessWords.h"
|
|
}
|
|
|
|
module ImportedProtocols {
|
|
export *
|
|
module SubModule {
|
|
requires objc
|
|
header "ImportedProtocols.h"
|
|
}
|
|
}
|