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 c78774e commit c0c73f6Copy full SHA for c0c73f6
swift/extractor/translators/TypeTranslator.cpp
@@ -160,7 +160,9 @@ void TypeTranslator::fillBoundGenericType(const swift::BoundGenericType& type,
160
161
void TypeTranslator::fillAnyGenericType(const swift::AnyGenericType& type,
162
codeql::AnyGenericType& entry) {
163
- entry.declaration = dispatcher.fetchLabel(type.getDecl());
+ if (!type.getDecl()->isUnavailable()) {
164
+ entry.declaration = dispatcher.fetchLabel(type.getDecl());
165
+ }
166
entry.parent = dispatcher.fetchOptionalLabel(type.getParent());
167
}
168
0 commit comments