diff --git a/vlib/v/gen/cgen.v b/vlib/v/gen/cgen.v index 71ea236d5c..331154f3b0 100644 --- a/vlib/v/gen/cgen.v +++ b/vlib/v/gen/cgen.v @@ -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' }