39 Star 58 Fork 407

OpenHarmony / arkcompiler_runtime_core

 / 详情

[Bug]: [ArkTS][Frontend] Function with missing return was compiled with no errors

已拒绝
创建于  
2024-04-25 16:34

发生了什么问题?

ETS std lib with errors can be compiled without CTE.

期望行为是什么?

Compile time error should be raised during build.

如何复现该缺陷

Check runtime_core/static_core/plugins/ets/stdlib/escompat/WeakSet.ets and notice the unreachable return statements after throws.
Build the compiler with etsstdlib target.
No errors raised during build.

其他补充信息

版本或分支信息

  • master
  • Release 4.1
  • Release 4.0
  • Release 3.2

评论 (1)

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

感谢提交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.

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
7387629 openharmony ci 1656582662
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