This commit is contained in:
gingerBill
2025-03-07 09:44:18 +00:00
parent 97d410c2ae
commit f3210eccaf

View File

@@ -3621,6 +3621,7 @@ gb_internal lbValue lb_build_call_expr_internal(lbProcedure *p, Ast *expr) {
GB_ASSERT(ce->args.count == 1);
lbValue x = lb_build_expr(p, ce->args[0]);
lbValue y = lb_emit_conv(p, x, tv.type);
y.type = tv.type;
return y;
}