mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-10 06:54:16 +00:00
repr on seq now outputs @[...] (#11224)
This commit is contained in:
committed by
Andreas Rumpf
parent
9aa6aa6514
commit
a170719d1a
@@ -181,7 +181,7 @@ when not defined(useNimRtl):
|
||||
add result, "[]"
|
||||
return
|
||||
result.add(reprPointer(p))
|
||||
result.add '['
|
||||
result.add "@["
|
||||
var bs = typ.base.size
|
||||
for i in 0..cast[PGenericSeq](p).len-1:
|
||||
if i > 0: add result, ", "
|
||||
|
||||
Reference in New Issue
Block a user