Resolve to undefined members of inline objects or arrays that have an undefined right hand variable.
git-svn-id: http://voip.null.ro/svn/yate@5974 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
aa0a6b6a06
commit
0ad3b6042b
|
@ -2527,11 +2527,15 @@ void JsCode::resolveObjectParams(JsObject* object, ObjList& stack, GenObject* co
|
|||
continue;
|
||||
String name = *op;
|
||||
JsObject* jsobj = YOBJECT(JsObject,ctxt->resolve(stack,name,context));
|
||||
if (!jsobj)
|
||||
if (!jsobj) {
|
||||
object->params().setParam(new ExpWrapper(0,op->name()));
|
||||
continue;
|
||||
}
|
||||
NamedString* ns = jsobj->getField(stack,name,context);
|
||||
if (!ns)
|
||||
if (!ns) {
|
||||
object->params().setParam(new ExpWrapper(0,op->name()));
|
||||
continue;
|
||||
}
|
||||
ExpOperation* objOper = YOBJECT(ExpOperation,ns);
|
||||
NamedString* temp = 0;
|
||||
if (objOper)
|
||||
|
|
Loading…
Reference in New Issue