1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ui: fix compiling the calculator ui example with tcc

This commit is contained in:
Delyan Angelov 2020-08-22 12:58:48 +03:00
parent e9e2a586ce
commit b5ca114a96

View File

@ -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' }