Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Delta456 committed Sep 28, 2023
1 parent d7fe90f commit 1b2cb3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vlib/v/fmt/fmt.v
Original file line number Diff line number Diff line change
Expand Up @@ -1385,6 +1385,8 @@ pub fn (mut f Fmt) interface_field(field ast.StructField) {
if sym.info.is_anon {
f.write('\t${field.name} ')
f.write_anon_struct_field_decl(field.typ, ast.StructDecl{ fields: sym.info.fields })
} else {
f.write('\t${field.name} ${ft}')
}
} else {
f.write('\t${field.name} ${ft}')
Expand Down

0 comments on commit 1b2cb3b

Please sign in to comment.