Skip to content

Commit

Permalink
ui: fix compiling the calculator ui example with tcc
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Aug 22, 2020
1 parent e9e2a58 commit b5ca114
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vlib/v/gen/cgen.v
Expand Up @@ -4442,6 +4442,7 @@ fn (mut g Gen) type_default(typ table.Type) string {
else {}
}
return match sym.kind {
.interface_ { '{0}' }
.sum_type { '{0}' }
.array_fixed { '{0}' }
else { '0' }
Expand Down

0 comments on commit b5ca114

Please sign in to comment.