repr_v2 improvements (#14992)
* Support proc in arc repr * Typo * Improve repr for strings and chars
This commit is contained in:
parent
e057b1d839
commit
813dd1b670
2 changed files with 34 additions and 10 deletions
|
|
@ -62,3 +62,9 @@ var c2 = new tuple[member: ref seq[string]]
|
|||
c2.member = new seq[string]
|
||||
c2.member[] = @["hello"]
|
||||
echo c2.repr
|
||||
|
||||
proc p2 =
|
||||
echo "hey"
|
||||
|
||||
discard repr p2
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue