normcap: 0.5.8 -> 0.5.9 (#355312)
[NixPkgs.git] / pkgs / by-name / ni / nim-unwrapped-1_0 / toLocation.patch
bloba3db460440498ef2554454f0b9d7403ad2d9ee47
1 diff --git a/lib/std/private/miscdollars.nim b/lib/std/private/miscdollars.nim
2 index 840fedf54..6c3436308 100644
3 --- a/lib/std/private/miscdollars.nim
4 +++ b/lib/std/private/miscdollars.nim
5 @@ -6,9 +6,8 @@ template toLocation*(result: var string, file: string | cstring, line: int, col:
6 # it can be done in a single place.
7 result.add file
8 if line > 0:
9 - result.add "("
10 + result.add ":"
11 addInt(result, line)
12 if col > 0:
13 - result.add ", "
14 + result.add ":"
15 addInt(result, col)
16 - result.add ")"