Skip to content

Commit 1f69fff

Browse files
committed
Swift: Fix mistake caught by QL-for-QL.
1 parent f82a548 commit 1f69fff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/ql/lib/codeql/swift/frameworks/StandardLibrary/Collection.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ private class CollectionSummaries extends SummaryModelCsv {
2626
";Collection;true;split(separator:maxSplits:omittingEmptySubsequences:);;;Argument[-1];ReturnValue;taint",
2727
";Collection;true;removeFirst();;;Argument[-1];ReturnValue;taint",
2828
";RangeReplaceableCollection;true;remove(at:);;;Argument[-1];ReturnValue;taint",
29-
";RangeReplaceableCollection;true;removeLast();;;Argument[-1];ReturnValue;taint",
29+
";RangeReplaceableCollection;true;removeFirst();;;Argument[-1];ReturnValue;taint",
3030
";RangeReplaceableCollection;true;removeLast();;;Argument[-1];ReturnValue;taint",
3131
";BidirectionalCollection;true;joined(separator:);;;Argument[-1..0];ReturnValue;taint",
3232
]

0 commit comments

Comments
 (0)