已关闭
[Bug]: 派生类构造函数IR和C抛异常的message信息不一致 #11974
luoweibin创建于 2025年12月2日关闭于 2025年12月9日
2025年12月2日 添加了label:bug
openharmony_ci
2025年12月2日 评论:
2025年12月2日 评论:
感谢提交Issue!关于Issue的交互操作,请访问OpenHarmony社区支持命令清单。如果有问题,请联系 [@yingguofeng](https://gitcode.com/yingguofeng) [@weng-changcheng](https://gitcode.com/weng-changcheng) [@dingding5](https://gitcode.com/dingding5) [@ipetrov](https://gitcode.com/ipetrov) [@chuning](https://gitcode.com/chuning) [@gong_19901](https://gitcode.com/gong_19901) 。如果需要调整订阅PR、Issue的变更状态,请访问链接。
Thanks for submitting the issue. For more commands, please visit OpenHarmony Command List. If you have any questions, please refer to committer gitcode for help. If you need to change the subscription of a Pull Request or Issue, please visit the link.


2025年12月2日 添加了label:waiting_for_assign
2025年12月2日 关联了pull request:派生类构造函数IR和C解释器抛异常的message信息不一致
2025年12月9日 关闭了 issue
感谢对OpenHarmony社区的支持与关注,欢迎反馈缺陷。
发生了什么问题?
派生类构造函数IR和C抛异常的message信息不一致
期望行为是什么?
派生类构造函数IR和C抛异常的message信息一致
如何复现该缺陷
派生类构造函数返回一个非Object类型非undefined,会抛异常,在IR解释器和C解释器不一致
其他补充信息
版本或分支信息
[x] master
[ ] Release 6.0
[ ] Release 5.1.0
[ ] Release 5.0.3
[ ] Release 4.1
[ ] Other