mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-12 02:40:41 -04:00
Fix #566
This commit is contained in:
1 parent
81b00c7a3e
commit
85e331d5e2
1 file changed
+3
-1
+3
-1
@@ -5942,7 +5942,9 @@ CALL_ARGUMENT_CHECKER(check_call_arguments_internal) {
|
||||
Entity *e = sig_params[operand_index];
|
||||
Type *t = e->type;
|
||||
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) {
|
||||
// GB_ASSERT(!variadic);
|
||||
|
||||
Reference in new issue
Block a user