mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: uniform string output format
This commit is contained in:
@ -317,9 +317,9 @@ pub fn (a []string) str() string {
|
||||
sb.write('[')
|
||||
for i in 0..a.len {
|
||||
val := a[i]
|
||||
sb.write('"')
|
||||
sb.write("\'")
|
||||
sb.write(val)
|
||||
sb.write('"')
|
||||
sb.write("\'")
|
||||
if i < a.len - 1 {
|
||||
sb.write(', ')
|
||||
}
|
||||
|
Reference in New Issue
Block a user