39 Star 61 Fork 415

OpenHarmony / arkcompiler_runtime_core

 / 详情

[ArkTS][StdLib] Implement Array.push

待办的
创建于  
2024-06-14 17:07

Description

Implement Array.push. Use test generator where appropriate

Implementation details

Currently in StdLib code we have following overloads.

public push(val: T): number
public pushECMA(...val: T[]): number

Note: Array class was integrated to interop. Please verify that interop tests are passed after implementation. Start point to fix possible interop issues -- interop_js/js_refconvert_builtin.cpp#L180

Class: Array

Methods to implement

  • push(...items: T[]): number;

评论 (1)

korobkovilya 创建了任务
korobkovilya 添加了
 
enhancement
标签
展开全部操作日志

感谢提交Issue!关于Issue的交互操作,请访问OpenHarmony社区支持命令清单。如果有问题,请联系 @godmiaozi @peijiajun @Ishin Pavel @Vyacheslav Cherkashin 。如果需要调整订阅PR、Issue的变更状态,请访问链接

Thanks for submitting the issue. For more commands, please visit OpenHarmony Command List. If you have any questions, please refer to committer @godmiaozi @peijiajun @Ishin Pavel @Vyacheslav Cherkashin for help. If you need to change the subscription of a Pull Request or Issue, please visit the link.

openharmony_ci 添加了
 
waiting_for_assign
标签
korobkovilya 修改了描述
korobkovilya 修改了描述

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
7387629 openharmony ci 1656582662 13585854 korobkovilya 1710854155
1
https://gitee.com/openharmony/arkcompiler_runtime_core.git
git@gitee.com:openharmony/arkcompiler_runtime_core.git
openharmony
arkcompiler_runtime_core
arkcompiler_runtime_core

搜索帮助

344bd9b3 5694891 D2dac590 5694891