Skip to content

Commit dcf254a

Browse files
committed
Swift: Make QL-for-QL happy.
1 parent 85e164d commit dcf254a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

swift/ql/lib/codeql/swift/elements/Location.qll

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ class Location extends LocationBase {
88
* Holds if this location is described by `path`, `startLine`, `startColumn`, `endLine` and `endColumn`.
99
*/
1010
predicate hasLocationInfo(string path, int startLine, int startColumn, int endLine, int endColumn) {
11-
path = getFile().getFullName() and
12-
startLine = getStartLine() and
13-
startColumn = getStartColumn() and
14-
endLine = getEndLine() and
15-
endColumn = getEndColumn()
11+
path = this.getFile().getFullName() and
12+
startLine = this.getStartLine() and
13+
startColumn = this.getStartColumn() and
14+
endLine = this.getEndLine() and
15+
endColumn = this.getEndColumn()
1616
}
1717

1818
/**

0 commit comments

Comments
 (0)