Skip to content

Commit 24c4e87

Browse files
committed
Swift: Fix stray [].
1 parent f3ea75d commit 24c4e87

File tree

1 file changed

+1
-1
lines changed
  • swift/ql/lib/codeql/swift/frameworks/StandardLibrary

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ private class StringFieldsInheritTaint extends TaintInheritingContent,
167167
"precomposedStringWithCompatibilityMapping", "removingPercentEncoding"
168168
]
169169
or
170-
namedTypeDecl.getFullName() = ["CustomStringConvertible"] and
170+
namedTypeDecl.getFullName() = "CustomStringConvertible" and
171171
fieldDecl.getName() = "description"
172172
or
173173
namedTypeDecl.getFullName() = "CustomDebugStringConvertible" and

0 commit comments

Comments
 (0)