Branch: Tag:

2022-05-10

2022-05-10 08:28:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [Typechecker]: Use the correct flags in check_node_type().

440:   {   #if 1    struct pike_type *diff = type_binop(PT_BINOP_MINUS, n->type, t, -  PT_FLAG_CMP_NULLABLE, -  PT_FLAG_CMP_NULLABLE, 0); +  PT_FLAG_CMP_VOID_IS_ZERO, +  PT_FLAG_CMP_VOID_IS_ZERO, 0);    if (!diff) return 1; /* Strict match. */    if (diff == n->type) {    /* Strict mismatch. */