pike.git / src / pike_types.cmod

version» Context lines:

pike.git/src/pike_types.cmod:11134:    case T_MANY:    type = type->cdr;    if (!type || (type->type != T_OBJECT) || !type->car)    return 0;    /* function(... : object(is foo)) -- ie probably program(foo). */       /* FALLTHRU */       case T_INT:    case T_PROGRAM: +  case PIKE_T_TYPE: +  /* NB: In some circumstances program(X) gets converted into type(X). */    return match_types(string_type_string, index_type);       case T_MIXED:    return 1;       default:    return 0;    }   }