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

cgen: fix typo from previous commit

This commit is contained in:
joe-conigliaro 2020-12-06 15:18:24 +11:00
parent d779510616
commit aeb467e038
No known key found for this signature in database
GPG Key ID: C12F7136C08206F1

View File

@ -5340,7 +5340,7 @@ fn (mut g Gen) type_default(typ_ table.Type) string {
}
// Always set pointers to 0
if typ.is_ptr() {
return '
return '0'
}
sym := g.table.get_type_symbol(typ)
if sym.kind == .array {