ci: fix clang macos build

pull/12838/head^2
Delyan Angelov 2021-12-14 17:06:57 +02:00
parent 70564ae8b2
commit 96e9cc62b0
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 1 additions and 1 deletions

View File

@ -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 is ast.Struct {
if field_sym.info.fields.len == 0 if field_sym.info.fields.len == 0
&& field_sym.info.embeds.len == 0 { && field_sym.info.embeds.len == 0 {
zero_str = '{}' zero_str = '{0}'
} }
} }
} }