array: handle "0" strings
parent
88d15c6611
commit
507f4ce87a
|
@ -381,7 +381,9 @@ pub fn (a []int) str() string {
|
|||
val := a[i].str()
|
||||
sb.write(val)
|
||||
//println('"$val"')
|
||||
if a[i] != 0 {
|
||||
val.free()
|
||||
}
|
||||
if i < a.len - 1 {
|
||||
sb.write(', ')
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue