Branch: Tag:

2022-05-31

2022-05-31 10:41:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [Typechecker]: Improved handling of mixed when CMP_NULLABLE.

5959:    goto recur;    }    } -  if (bflags & (PT_FLAG_CMP_NULLABLE | PT_FLAG_CMP_VOID_IS_ZERO)) { +  if ((bflags & PT_FLAG_CMP_VOID_IS_ZERO) || +  ((bflags & PT_FLAG_CMP_NULLABLE) && (a->type != T_MIXED))) {    b = zero_type_string;    goto recur;    }