name: Cangjie 1.1.0 Beta 版本 Bug 报告
description: 专用模板:报告Cangjie 1.1.0 Beta 版本的问题
title: "[BUG - STS Beta 测试] "
labels:
- "STS捉虫"
- "1.1.0-beta.25"
- bug
body:
- type: markdown
attributes:
value: |
## 🎉 感谢您参与仓颉编程语言 **STS 1.1.0 Beta** 测试活动!
在提交 Bug 报告之前,请先确认:
- 🔍 我已经搜索过现有的 [Issues](https://gitcode.com/Cangjie/UsersForum/issues),确信这是一个新问题
- ✅ 我正在使用 **STS 1.1.0-Beta.25** 版本
- 📖 我已经阅读了 [STS 版本说明说明书](https://cangjie-lang.cn/docs)
- 🔧 我已经准备好提供详细的复现步骤和环境信息
- type: checkboxes
id: pre-checks
attributes:
description: 提交前请确认以下事项
options:
- label: 我正在使用 STS 1.1.0-Beta.25 版本
required: true
- label: 我已经搜索过现有的 Issues,确信这是一个新问题
required: true
- label: 我已经阅读了 STS 版本说明
required: false
- label: 我能够提供详细的复现步骤和代码示例
required: false
- type: dropdown
id: bug-severity
attributes:
label: Bug 严重程度
description: 请评估此 Bug 的严重程度
options:
- 🔴 严重(崩溃、数据丢失、阻塞关键功能)
- 🟠 高级(功能异常、性能严重下降)
- 🟡 中级(功能受限、轻微性能问题)
- 🟢 低级(UI 显示、提示文本等)
default: 2
validations:
required: true
- type: dropdown
id: bug-category
attributes:
label: Bug 分类
description: 请选择最符合的 Bug 分类
options:
- 无法确定
- 编译器(Compiler)相关
- 运行时(Runtime)相关
- 语言库(Libs)相关
- 工具(Tools)相关
- IDE 插件相关
- 语言设计(SPEC)相关
- 元编程(Meta)相关
- 互操作(InterOp)相关
- 文档(Documents)相关
- 其他
default: 0
validations:
required: true
- type: textarea
id: bug-title
attributes:
label: Bug 描述
description: 请详细描述 Bug 的表现和影响
placeholder: |
描述 Bug 的具体情况...
例如:
当我使用 XXX 特性时,程序发生了...
这个问题影响了 XXX 功能的使用...
在特定条件下(如数据量大、并发等)更容易触发...
validations:
required: true
- type: textarea
id: reproduction-steps
attributes:
label: 复现步骤
description: 请提供详细的复现步骤,帮助我们重现问题
placeholder: |
1. 创建一个新的仓颉项目
2. 在 src/main.cj 中添加以下代码...
3. 执行 cjpm build
4. 观察到编译器崩溃,输出错误...
💡 提示:请提供最小可复现示例,避免粘贴整个项目代码
validations:
required: true
- type: textarea
id: code-snippet
attributes:
label: 最小代码示例
description: 请提供能够复现 Bug 的最小完整代码示例
placeholder: |
```cj
// 请在此处粘贴最小可复现代码
// 例如:
main() {
// 你的代码
}
```
render: cangjie
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: 期望行为
description: 请描述您期望发生的情况
placeholder: |
例如:编译应该成功通过,生成可执行文件
或者:程序应该输出 XXX
validations:
required: true
- type: textarea
id: actual-behavior
attributes:
label: 实际行为
description: 请描述实际发生的情况或错误信息
placeholder: |
例如:编译器崩溃,报错信息...
或者:程序输出 YYY,与预期不符
```
请在此处粘贴完整的错误信息、堆栈跟踪或日志
```
render: shell
validations:
required: true
- type: textarea
id: error-log
attributes:
label: 完整错误日志
description: 如果有完整的错误日志、堆栈信息或调试输出,请在此粘贴
placeholder: |
```shell
cjpm build
# 粘贴完整的命令行输出
```
render: shell
validations:
required: false
- type: input
id: os-version
attributes:
label: 操作系统版本
description: 请提供具体的操作系统版本及CPU架构
placeholder: 例如:Windows 11、macOS 15.2、Ubuntu 24.04,x86_64 (Intel/AMD)、arm64 (Apple Silicon/ARM)等
validations:
required: true
- type: dropdown
id: ide
attributes:
label: 开发环境
description: 请选择您使用的开发环境
options:
- VSCode + 仓颉插件
- DevEco Studio
- 代码编辑器(无插件)
- 命令行
- 其他
validations:
required: false
- type: textarea
id: additional-context
attributes:
label: 补充信息
description: 任何其他有助于定位 Bug 的信息或临时解决方案
placeholder: |
例如:
- 是否在特定条件下更容易触发(如并发、大数据量等)
- 是否尝试过其他版本的仓颉
- 相关的截图、链接等
- 其他相关背景信息
render: markdown
validations:
required: false
- type: checkboxes
id: contribution-interest
attributes:
label: 贡献意愿
description: 您是否愿意参与修复这个 Bug?
options:
- label: 我愿意尝试修复这个 Bug 并提交 PR
required: false
- label: 我希望参与讨论修复方案
required: false
- label: 我仅提供 Bug 报告,不参与开发
required: false