2021-09-30 09:27:38 +00:00
|
|
|
diff --git a/lib/std/private/miscdollars.nim b/lib/std/private/miscdollars.nim
|
2021-10-19 11:07:57 +00:00
|
|
|
index 840fedf54..6c3436308 100644
|
2021-09-30 09:27:38 +00:00
|
|
|
--- a/lib/std/private/miscdollars.nim
|
|
|
|
+++ b/lib/std/private/miscdollars.nim
|
2021-10-19 11:07:57 +00:00
|
|
|
@@ -6,9 +6,8 @@ template toLocation*(result: var string, file: string | cstring, line: int, col:
|
2021-09-30 09:27:38 +00:00
|
|
|
# it can be done in a single place.
|
|
|
|
result.add file
|
|
|
|
if line > 0:
|
|
|
|
- result.add "("
|
2021-10-19 11:07:57 +00:00
|
|
|
+ result.add ":"
|
|
|
|
addInt(result, line)
|
2021-09-30 09:27:38 +00:00
|
|
|
if col > 0:
|
|
|
|
- result.add ", "
|
2021-10-19 11:07:57 +00:00
|
|
|
+ result.add ":"
|
|
|
|
addInt(result, col)
|
2021-09-30 09:27:38 +00:00
|
|
|
- result.add ")"
|