Improved collection-to-string behavior (#6825)
This commit is contained in:
parent
bc1123536e
commit
6df6ec27ec
33 changed files with 226 additions and 74 deletions
|
|
@ -66,4 +66,4 @@ proc initTypeA1(a: int; b: string; c: pointer = nil): TypeA1 =
|
|||
result.c_impl = c
|
||||
|
||||
let x = initTypeA1(1, "a")
|
||||
doAssert($x == "(a_impl: 1, b_impl: a, c_impl: ...)")
|
||||
doAssert($x == "(a_impl: 1, b_impl: \"a\", c_impl: ...)")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue