1
0
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:
Delyan Angelov 2022-07-07 18:22:21 +03:00
parent f5001192f9
commit 71a85249ea
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -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