From 70564ae8b2bdd4d09f5be25e666699a5728d7565 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Tue, 14 Dec 2021 17:04:37 +0200 Subject: [PATCH] ci: fix generics test --- vlib/v/gen/c/cgen.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/gen/c/cgen.v b/vlib/v/gen/c/cgen.v index 45ae30ea23..4e2f2e022a 100644 --- a/vlib/v/gen/c/cgen.v +++ b/vlib/v/gen/c/cgen.v @@ -6821,7 +6821,7 @@ fn (mut g Gen) type_default(typ_ ast.Type) string { if field_sym.info is ast.Struct { if field_sym.info.fields.len == 0 && field_sym.info.embeds.len == 0 { - zero_str = '{EMPTY_STRUCT_INITIALIZATION}' + zero_str = '{}' } } }