repr on seq now outputs @[...] (#11224)

This commit is contained in:
Ico Doornekamp
2019-05-10 16:33:43 +02:00
committed by Andreas Rumpf
parent 9aa6aa6514
commit a170719d1a

View File

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