Merge pull request #4980 from jlp765/tostring
Add nill value handling for seq/sets to system.CollectionToString()
This commit is contained in:
commit
4884a56e38
2 changed files with 4 additions and 1 deletions
2
tests/stdlib/tnilecho.nim
Normal file
2
tests/stdlib/tnilecho.nim
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
var x = @["1", nil, "3"]
|
||||
doAssert $x == "@[1, nil, 3]"
|
||||
Loading…
Add table
Add a link
Reference in a new issue