pike.git / src / pike_types.c

version» Context lines:

pike.git/src/pike_types.c:6210:    case PIKE_T_MIXED:    copy_pike_type(res, mixed_type_string);    break;       case PIKE_T_FUNCTION:    case T_MANY:    /* Special case to detect workarounds for the old    * function call checker.    */    tmp = NULL; -  if ((fun_type->car->type == T_NOT) && +  if (((arg_type->type != T_NOT) || +  (arg_type->car->type != T_MIXED)) && +  (fun_type->car->type == T_NOT) &&    (fun_type->car->car->type == T_OR) &&    ((fun_type->car->car->car->type == T_MIXED) ||    (fun_type->car->car->cdr->type == T_MIXED))) {    /* Rebuild the function type without the negated mixed    * in the first argument.    */    type_stack_mark();    push_finished_type(fun_type->cdr);    if (fun_type->car->car->car->type == T_MIXED) {    push_finished_type(fun_type->car->car->cdr);