pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:14010:    object c = compile_string(#"    string id() {return \"C\";}    class D {    inherit B;    string id() {return \"D\";}    string foo()    {    return ::foo() + \"|\" +    this->id() + id() + B::id() + global::this->id() + global::id();    } -  }", 0, Handler())(); +  }", UNDEFINED, Handler())();       return c->D()->foo();    }   ]], "DDBAA|DDBCC")      test_program_eq([[    class X    {    object parent() {return global::this;}    }
pike.git/src/testsuite.in:14033:    {    mixed resolv (string id, void|string file, void|object handler)    {    if (id == "X") return X;    return master()->resolv (id, file, handler);    }    }       object a()    { -  object o = compile_string ("inherit X;", 0, Handler())(); +  object o = compile_string ("inherit X;", UNDEFINED, Handler())();    return o->parent();    }   ]], this)         // - this_thread   // - thread_create   // - thread_local      // - throw