* simplify sysstr.nim * fix #14655
This commit is contained in:
parent
d3b25a2948
commit
0fc5d3f13b
2 changed files with 23 additions and 15 deletions
|
|
@ -206,4 +206,11 @@ block ttoseq:
|
|||
stdout.write("\n")
|
||||
|
||||
block tseqmapitchain:
|
||||
doAssert @[101, 102] == [1, 2].mapIt(func (x: int): int = it + x).mapIt(it(100))
|
||||
doAssert @[101, 102] == [1, 2].mapIt(func (x: int): int = it + x).mapIt(it(100))
|
||||
|
||||
|
||||
for i in 0..100:
|
||||
# fix #14655
|
||||
var test = newSeqOfCap[uint32](1)
|
||||
test.setLen(1)
|
||||
doAssert test[0] == 0, $(test[0], i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue