Skip to content

Commit cf1667c

Browse files
committed
Swift: update extractor after schema changes
1 parent 4d3aecf commit cf1667c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/extractor/translators/DeclTranslator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ void DeclTranslator::fillTypeDecl(const swift::TypeDecl& decl, codeql::TypeDecl&
271271
entry.name = decl.getNameStr().str();
272272
for (auto& typeLoc : decl.getInherited()) {
273273
if (auto type = typeLoc.getType()) {
274-
entry.base_types.push_back(dispatcher.fetchLabel(type));
274+
entry.inherited_types.push_back(dispatcher.fetchLabel(type));
275275
}
276276
}
277277
fillValueDecl(decl, entry);

0 commit comments

Comments
 (0)