mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
a[start..end] slicing
This commit is contained in:
@ -70,7 +70,7 @@ fn types_to_c(types []Type, table &Table) string {
|
||||
return sb.str()
|
||||
}
|
||||
|
||||
fn (p mut Parser) index_get(typ string, fn_ph int, cfg IndexCfg) {
|
||||
fn (p mut Parser) index_get(typ string, fn_ph int, cfg IndexConfig) {
|
||||
p.cgen.cur_line = p.cgen.cur_line.replace(',', '[') + ']'
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user