1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

fix tests

This commit is contained in:
Alexander Medvednikov
2019-09-17 13:37:25 +03:00
parent 1397d532c6
commit 0a2f7a6ba7
3 changed files with 5 additions and 3 deletions

View File

@ -60,7 +60,7 @@ fn (p mut Parser) index_get(typ string, fn_ph int, cfg IndexCfg) {
p.cgen.cur_line = p.cgen.cur_line.replace(',', '[') + ']'
}
fn (table mut Table) fn_gen_name(f &Fn) string {
fn (table &Table) fn_gen_name(f &Fn) string {
mut name := f.name
if f.is_method {
name = name.replace(' ', '')