感谢对仓颉社区的支持与关注,欢迎反馈缺陷。 | Thanks for your support and attention to the community. We welcome feedback on any issues.
HLE
HLE生成注释时因为代码中也有注释有可能会产生代码注入
消除该代码注入的风险
在HLE输入的.d.ts中,构造一些包含注释的string,类似于"/let a = 0 /" 的形式,HLE生成代码时会意外暴漏该代码
感谢对仓颉社区的支持与关注,欢迎反馈缺陷。 | Thanks for your support and attention to the community. We welcome feedback on any issues.
领域 | Domain
HLE
发生了什么问题? | Describe the issue that occurred.
HLE生成注释时因为代码中也有注释有可能会产生代码注入
期望行为是什么? | What is the expected behavior?
消除该代码注入的风险
如何复现该缺陷? | How to reproduce the bug?
在HLE输入的.d.ts中,构造一些包含注释的string,类似于"/let a = 0 /" 的形式,HLE生成代码时会意外暴漏该代码
其他补充信息 | Additional information
cjc版本信息 | cjc version information
分支版本信息 | Branch version information