From 0c953d49e750a123c9a59c74bc893b02a5f75fb7 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Mon, 18 Nov 2024 19:39:56 -0300 Subject: [PATCH] fix --- vlib/v/gen/c/cgen.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/gen/c/cgen.v b/vlib/v/gen/c/cgen.v index 57d121e48727b5..910bbd7712f0e3 100644 --- a/vlib/v/gen/c/cgen.v +++ b/vlib/v/gen/c/cgen.v @@ -2584,7 +2584,7 @@ fn (mut g Gen) expr_with_fixed_array(expr ast.Expr, got_type_raw ast.Type, expec g.writeln(', sizeof(${g.styp(val_typ)}));') } } else if expr is ast.CallExpr { - // return AliasToFixedArray(...) + // return var.call() where returns is option/result fixed array g.writeln('${styp} ${tmp_var} = {0};') g.write('memcpy(&${tmp_var}.data, ') g.expr(expr)