Do not intersperse commas in sequences

This commit is contained in:
Emery Hemingway 2021-11-07 17:26:49 +01:00
parent 66e47963dc
commit 6039a729c8
1 changed files with 1 additions and 2 deletions

View File

@ -1099,8 +1099,7 @@ proc concat[E](result: var string; pr: Preserve[E]) =
of pkSequence:
result.add('[')
for i, val in pr.sequence:
if i > 0:
result.add(", ")
if i > 0: result.add(' ')
result.concat(val)
result.add(']')
of pkSet: