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

all: fix formating Foo<A,B> to Foo<A, B> (#11225)

This commit is contained in:
yuyi
2021-08-18 22:17:21 +08:00
committed by GitHub
parent 881510e7ce
commit 3d22dc1608
9 changed files with 11 additions and 11 deletions

View File

@@ -202,7 +202,7 @@ pub fn (t &Table) fn_type_signature(f &Fn) string {
typ := arg.typ.set_nr_muls(0)
arg_type_sym := t.get_type_symbol(typ)
sig += arg_type_sym.str().to_lower().replace_each(['.', '__', '&', '', '[]', 'arr_', 'chan ',
'chan_', 'map[', 'map_of_', ']', '_to_', '<', '_T_', ',', '_', '>', ''])
'chan_', 'map[', 'map_of_', ']', '_to_', '<', '_T_', ',', '_', ' ', '', '>', ''])
if i < f.params.len - 1 {
sig += '_'
}