2002-feb24-net / 2002-feb24-net/pauls-project0
If user backs out of login, code continues with the order, instead of restarting loop.
未关闭
适合新手
bug
- 主要语言
- C#
- 星标
- 0
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
描述
Should use a goto jump to the beginning of the loop, instead of continue.
https://github.com/2002-feb24-net/pauls-project0/blob/1ab32f5e1e5022be4d98a25ba6ce70ab8ceaaa62/ConsoleApp1/Program.cs#L39
贡献指南
这个仓库没有索引到贡献指南
调研方向
该 issue 指向 ConsoleApp1/Program.cs 的第 39 行。检查该行附近的登录循环逻辑,查看 'continue' 的使用位置。将其替换为 'goto' 语句,以跳回循环的开头。运行控制台应用程序,测试退出登录时是否会正确地重新启动循环,而不是继续处理订单。
由索引模型根据 Issue 内容生成。
评估
- 领域
- cli
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 65/100