vfmt: fix `init_fn gg.FNCb = voidptr(0)` when vfmt-ing gg.v
parent
55536bb364
commit
5c4ba3474b
|
@ -592,7 +592,7 @@ pub fn (mut f Fmt) struct_decl(node ast.StructDecl) {
|
||||||
if comments_len + field.name.len > max {
|
if comments_len + field.name.len > max {
|
||||||
max = comments_len + field.name.len
|
max = comments_len + field.name.len
|
||||||
}
|
}
|
||||||
ft := f.table.type_to_str(field.typ)
|
ft := f.no_cur_mod(f.table.type_to_str(field.typ))
|
||||||
field_types << ft
|
field_types << ft
|
||||||
if ft.len > max_type {
|
if ft.len > max_type {
|
||||||
max_type = ft.len
|
max_type = ft.len
|
||||||
|
|
Loading…
Reference in New Issue