Branch: Tag:

2021-12-25

2021-12-25 11:57:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [Typechecker]: Make pop_type_stack() array index type aware.

1247:    case T_OR:    case T_AND:    case PIKE_T_RING: +  case T_ARRAY: +  case T_STRING:    case PIKE_T_TRANSITIVE:    /* Both car & cdr. */    push_finished_type(top->cdr);
1262:    break;    case T_SCOPE:    case T_ASSIGN: -  case T_ARRAY: -  case T_STRING: +     /* cdr */    push_finished_type(top->cdr);    break;