pike.git / src / pike_types.cmod

version» Context lines:

pike.git/src/pike_types.cmod:6796:    } else if (orig_type->type == T_OBJECT) {    if ((tmp = low_object_lfun_type(orig_type, LFUN_CALL))) {    orig_type = tmp;    tmp = NULL;    } else {    /* FIXME: Multiple cases. */    copy_pike_type(res, orig_type);    break;    }    } +  if ((orig_type->type & 0xff) == PIKE_T_OPERATOR) { +  /* Assume ok. */ +  copy_pike_type(res, orig_type); +  break; +  }    /* FIXME: Loop above until function? */    if ((orig_type->type != T_FUNCTION) &&    (orig_type->type != T_MANY)) {    /* Failure. */    break;    }    type_stack_mark();    while((soft_type->type == T_FUNCTION) ||    (orig_type->type == T_FUNCTION)) {    if ((soft_type->type != T_FUNCTION) &&