pike.git / src / pike_types.cmod

version» Context lines:

pike.git/src/pike_types.cmod:6849:    soft_type = tmp3;    } else {    soft_type = soft_type->cdr;    }    if (!(tmp2 = soft_cast(soft_type, orig_type, flags))) {    goto function_cast_fail;    }    push_finished_type(tmp2);    free_type(tmp2);    tmp2 = NULL; +  +  while(array_cnt--) push_unlimited_array_type(T_ARRAY); +  push_reverse_type(T_MANY);    } else {    /* Some kind of complex function type. */    /* FIXME: Handle the case where tmp != NULL */    push_finished_type(orig_type);    push_finished_type(soft_type);    push_type(T_AND); -  } +     while(array_cnt--) push_unlimited_array_type(T_ARRAY); -  push_reverse_type(T_MANY); +  }    while(loop_cnt--) push_reverse_type(T_FUNCTION);    res = pop_unfinished_type();    break;    }    function_cast_fail:    type_stack_pop_to_mark();    break;    case T_NOT: /* FIXME. */    default:    if (soft_type->type != orig_type->type) break;