mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Fix #4866
This commit is contained in:
@@ -3621,6 +3621,7 @@ gb_internal lbValue lb_build_call_expr_internal(lbProcedure *p, Ast *expr) {
|
|||||||
GB_ASSERT(ce->args.count == 1);
|
GB_ASSERT(ce->args.count == 1);
|
||||||
lbValue x = lb_build_expr(p, ce->args[0]);
|
lbValue x = lb_build_expr(p, ce->args[0]);
|
||||||
lbValue y = lb_emit_conv(p, x, tv.type);
|
lbValue y = lb_emit_conv(p, x, tv.type);
|
||||||
|
y.type = tv.type;
|
||||||
return y;
|
return y;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user