mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-30 19:30:06 +00:00
Fix issue #10
This commit is contained in:
@@ -4411,7 +4411,8 @@ void ir_build_stmt_internal(irProcedure *proc, AstNode *node) {
|
||||
// No return values
|
||||
} else if (return_count == 1) {
|
||||
Entity *e = return_type_tuple->variables[0];
|
||||
v = ir_emit_conv(proc, ir_build_expr(proc, rs->results.e[0]), e->type);
|
||||
v = ir_build_expr(proc, rs->results.e[0]);
|
||||
v = ir_emit_conv(proc, v, e->type);
|
||||
} else {
|
||||
gbTempArenaMemory tmp = gb_temp_arena_memory_begin(&proc->module->tmp_arena);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user