Skip to content

Commit 250965b

Browse files
committed
Swift: update extractor for TypeRepr changes
1 parent dfc91bb commit 250965b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/extractor/visitors/TypeVisitor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ void TypeVisitor::visit(swift::TypeBase* type) {
1111

1212
codeql::TypeRepr TypeVisitor::translateTypeRepr(const swift::TypeRepr& typeRepr, swift::Type type) {
1313
auto entry = dispatcher_.createEntry(typeRepr);
14-
entry.type = dispatcher_.fetchOptionalLabel(type);
14+
entry.type = dispatcher_.fetchLabel(type);
1515
return entry;
1616
}
1717

0 commit comments

Comments
 (0)