mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-02 04:38:16 +00:00
Fix #566
This commit is contained in:
+3
-1
@@ -5942,7 +5942,9 @@ CALL_ARGUMENT_CHECKER(check_call_arguments_internal) {
|
|||||||
Entity *e = sig_params[operand_index];
|
Entity *e = sig_params[operand_index];
|
||||||
Type *t = e->type;
|
Type *t = e->type;
|
||||||
Operand o = operands[operand_index];
|
Operand o = operands[operand_index];
|
||||||
call->viral_state_flags |= o.expr->viral_state_flags;
|
if (o.expr != nullptr) {
|
||||||
|
call->viral_state_flags |= o.expr->viral_state_flags;
|
||||||
|
}
|
||||||
|
|
||||||
if (e->kind == Entity_TypeName) {
|
if (e->kind == Entity_TypeName) {
|
||||||
// GB_ASSERT(!variadic);
|
// GB_ASSERT(!variadic);
|
||||||
|
|||||||
Reference in New Issue
Block a user