pike.git / src / pike_types.cmod

version» Context lines:

pike.git/src/pike_types.cmod:11008:    }       case T_MULTISET:    case T_MAPPING:    /* FIXME: Why -1 and not 0?    *    * - There were complaints when people got compilation errors    * for indexing operations that would always fail.    */    if (type->car) { -  return = match_types(type->car, index_type) ? 1 : -1; +  return match_types(type->car, index_type) ? 1 : -1;    } else {    /* NB: Lots of ancient code uses ([])[0] to generate UNDEFINED. */    return 1;    }       case T_FUNCTION:    while ((type = type->cdr) && (type->type == T_FUNCTION))    ;    if (!type) return 0;