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

pull/11234/head
yuyi 2021-08-18 22:17:21 +08:00 committed by GitHub
parent 881510e7ce
commit 3d22dc1608
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 += '_'
}