Branch: Tag:

2021-04-11

2021-04-11 16:29:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [Typechecker]: More __unknown__ fixes.

8217:       case T_NOT:    /* Some common cases. */ -  switch(b->car->type) { +  switch(b->car?b->car->type:PIKE_T_UNKNOWN) {    case T_NOT:    b = b->car->car;    goto recurse;
8226:    goto recurse;    case T_ZERO:    case T_VOID: +  case PIKE_T_UNKNOWN:    b = mixed_type_string;    goto recurse;    }
8451:    goto recurse;    }    /* Some common cases. */ -  switch(a->car->type) { +  switch(a->car?a->car->type:PIKE_T_UNKNOWN) {    case T_NOT:    a = a->car->car;    goto recurse;
8460:    goto recurse;    case T_ZERO:    case T_VOID: +  case PIKE_T_UNKNOWN:    a = mixed_type_string;    goto recurse;    }