mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-23 14:14:59 -07:00
Fix named results but in ir.cpp
This commit is contained in:
+1
-1
@@ -10394,7 +10394,7 @@ void ir_build_stmt_internal(irProcedure *proc, Ast *node) {
|
||||
}
|
||||
irValue **found = map_get(&proc->module->values, hash_entity(e));
|
||||
GB_ASSERT(found != nullptr);
|
||||
ir_emit_store(proc, *found, results[i]);
|
||||
ir_emit_store(proc, *found, ir_emit_conv(proc, results[i], e->type));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user