From 5d8d11c9899afbab6f06e13380530d5cc4445190 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sun, 10 Jul 2022 18:28:24 +0300 Subject: [PATCH] ci: fix `v cmd/tools/vast` after ast.StructInit field renaming --- cmd/tools/vast/vast.v | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/tools/vast/vast.v b/cmd/tools/vast/vast.v index 88e01a2e39..100ac859d1 100644 --- a/cmd/tools/vast/vast.v +++ b/cmd/tools/vast/vast.v @@ -1516,7 +1516,9 @@ fn (t Tree) struct_init(node ast.StructInit) &Node { mut obj := new_object() obj.add_terse('ast_type', t.string_node('StructInit')) 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('has_update_expr', t.bool_node(node.has_update_expr)) obj.add_terse('update_expr', t.expr(node.update_expr))