We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c8bbe3 commit 3b9151cCopy full SHA for 3b9151c
swift/ql/lib/codeql/swift/elements/UnknownLocation.qll
@@ -12,4 +12,6 @@ class UnknownLocation extends UnknownLocationBase {
12
override int getEndLine() { result = 0 }
13
14
override int getEndColumn() { result = 0 }
15
+
16
+ override string toString() { result = "UnknownLocation" }
17
}
swift/ql/test/library-tests/elements/location/location.expected
@@ -1,4 +1,4 @@
1
-| file://:0:0:0:0 | file://:0:0:0:0 |
+| file://:0:0:0:0 | UnknownLocation |
2
| location.swift:2:1:3:1 | location.swift:2:1:3:1 |
3
| location.swift:2:11:2:14 | location.swift:2:11:2:14 |
4
| location.swift:2:19:3:1 | location.swift:2:19:3:1 |
0 commit comments