Swift: Restore UnknownLocation.toString(), it seems helpful.

This commit is contained in:
Geoffrey White
2022-10-17 13:04:46 +01:00
parent 9c8bbe384b
commit 3b9151cb24
2 changed files with 3 additions and 1 deletions

View File

@@ -12,4 +12,6 @@ class UnknownLocation extends UnknownLocationBase {
override int getEndLine() { result = 0 }
override int getEndColumn() { result = 0 }
override string toString() { result = "UnknownLocation" }
}

View File

@@ -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 |