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:
parent
e9e2a586ce
commit
b5ca114a96
@ -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' }
|
||||
|
Loading…
Reference in New Issue
Block a user