mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Swift: Restore UnknownLocation.toString(), it seems helpful.
This commit is contained in:
@@ -12,4 +12,6 @@ class UnknownLocation extends UnknownLocationBase {
|
||||
override int getEndLine() { result = 0 }
|
||||
|
||||
override int getEndColumn() { result = 0 }
|
||||
|
||||
override string toString() { result = "UnknownLocation" }
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
| file://:0:0:0:0 | file://:0:0:0:0 |
|
||||
| file://:0:0:0:0 | UnknownLocation |
|
||||
| location.swift:2:1:3:1 | location.swift:2:1:3:1 |
|
||||
| location.swift:2:11:2:14 | location.swift:2:11:2:14 |
|
||||
| location.swift:2:19:3:1 | location.swift:2:19:3:1 |
|
||||
|
||||
Reference in New Issue
Block a user