Proactive bug fix

This commit is contained in:
attilavs2 2025-03-09 22:01:03 +01:00
parent 3303ff3ef5
commit d133a6b07d

View file

@ -140,6 +140,9 @@ Statement *make_operation(i32 type, Tag vtype, char *name, i32 nparam, ...){
} }
if(type == BI_is || type == BI_cast) if(type == BI_is || type == BI_cast)
stat->var_type = vtype; stat->var_type = vtype;
if(type == BI_if)
stat->els = NULL;
stat->type = type; stat->type = type;
if(nparam) if(nparam)