Change-Id: I24e41395cd6f648b121f9a08ab1eaacae234e081
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
}
if (p)
- return o->getValue(ctx, p);
+ return p->type == PropertyDescriptor::Data ? p->value : o->getValue(ctx, p);
else
return object.objectValue()->__get__(ctx, l->name);
}
Value func;
if (p)
- func = baseObject->getValue(context, p);
+ func = p->type == PropertyDescriptor::Data ? p->value : baseObject->getValue(context, p);
else
func = baseObject->__get__(context, l->name);