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

ci: fix v cmd/tools/vast after ast.StructInit field renaming

This commit is contained in:
Delyan Angelov 2022-07-10 18:28:24 +03:00
parent d15e9f4866
commit 5d8d11c989
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -1516,7 +1516,9 @@ fn (t Tree) struct_init(node ast.StructInit) &Node {
mut obj := new_object() mut obj := new_object()
obj.add_terse('ast_type', t.string_node('StructInit')) obj.add_terse('ast_type', t.string_node('StructInit'))
obj.add_terse('typ', t.type_node(node.typ)) obj.add_terse('typ', t.type_node(node.typ))
obj.add_terse('is_short', t.bool_node(node.is_short)) obj.add_terse('no_keys', t.bool_node(node.no_keys))
obj.add_terse('is_short_syntax', t.bool_node(node.is_short_syntax))
obj.add_terse('is_anon', t.bool_node(node.is_anon))
obj.add_terse('unresolved', t.bool_node(node.unresolved)) obj.add_terse('unresolved', t.bool_node(node.unresolved))
obj.add_terse('has_update_expr', t.bool_node(node.has_update_expr)) obj.add_terse('has_update_expr', t.bool_node(node.has_update_expr))
obj.add_terse('update_expr', t.expr(node.update_expr)) obj.add_terse('update_expr', t.expr(node.update_expr))