mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: fix failing ./v -W build-tools
This commit is contained in:
parent
f5001192f9
commit
71a85249ea
@ -34,7 +34,6 @@ pub fn (mut f Fmt) struct_decl(node ast.StructDecl, is_anon bool) {
|
|||||||
for i, field in node.fields {
|
for i, field in node.fields {
|
||||||
ft := f.no_cur_mod(f.table.type_to_str_using_aliases(field.typ, f.mod2alias))
|
ft := f.no_cur_mod(f.table.type_to_str_using_aliases(field.typ, f.mod2alias))
|
||||||
// Handle anon structs recursively
|
// Handle anon structs recursively
|
||||||
sym := f.table.sym(field.typ)
|
|
||||||
field_types << ft
|
field_types << ft
|
||||||
attrs_len := inline_attrs_len(field.attrs)
|
attrs_len := inline_attrs_len(field.attrs)
|
||||||
end_pos := field.pos.pos + field.pos.len
|
end_pos := field.pos.pos + field.pos.len
|
||||||
|
Loading…
Reference in New Issue
Block a user