We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc8b168 commit 858c262Copy full SHA for 858c262
swift/extractor/SwiftExtractor.cpp
@@ -170,7 +170,7 @@ static std::unordered_set<swift::ModuleDecl*> extractDeclarations(
170
bodyEmissionStrategy);
171
auto topLevelDecls = getTopLevelDecls(module, primaryFile, lazyDeclaration);
172
for (auto decl : topLevelDecls) {
173
- if (decl->isUnavailable()) {
+ if (decl->isUnavailable() && !llvm::isa<swift::NominalTypeDecl>(decl)) {
174
continue;
175
}
176
visitor.extract(decl);
0 commit comments