mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
array: handle "0" strings
This commit is contained in:
parent
88d15c6611
commit
507f4ce87a
@ -381,7 +381,9 @@ pub fn (a []int) str() string {
|
||||
val := a[i].str()
|
||||
sb.write(val)
|
||||
//println('"$val"')
|
||||
val.free()
|
||||
if a[i] != 0 {
|
||||
val.free()
|
||||
}
|
||||
if i < a.len - 1 {
|
||||
sb.write(', ')
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user