mirror of
https://gitee.com/openharmony/arkcompiler_toolchain
synced 2025-02-17 07:38:22 +00:00
fixed 1ae4174 from https://gitee.com/buzhuyu/arkcompiler_toolchain/pulls/325
clear runtime code description:clear runtime code issue:https://gitee.com/openharmony/arkcompiler_toolchain/issues/I7MO39 Signed-off-by: buzhuyu <buzhuyu@huawei.com>
This commit is contained in:
parent
8b004c8b24
commit
9d1a365a6a
@ -280,7 +280,7 @@ DispatchResponse RuntimeImpl::GetProperties(const GetPropertiesParams ¶ms,
|
||||
}
|
||||
|
||||
Local<ArrayRef> keys = Local<ObjectRef>(value)->GetOwnPropertyNames(vm_);
|
||||
int32_t length = keys->Length(vm_);
|
||||
int32_t length = static_cast<int32_t>(keys->Length(vm_));
|
||||
Local<JSValueRef> name = JSValueRef::Undefined(vm_);
|
||||
for (int32_t i = 0; i < length; ++i) {
|
||||
name = keys->Get(vm_, i);
|
||||
|
Loading…
x
Reference in New Issue
Block a user