Error message says parenthesis when it means bracket
还没有人认领这个 Issue。
评估
调研方向
使用链接的 CodeWorld 程序重现该错误,并确认 program.hs:9:62 处的诊断信息。然后定位生成“Are you missing a parenthesis?”的 parser 诊断路径,并检查括号语法是如何分类的。当消息对报告的语法使用正确的术语,且不会导致其他解析错误回归时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Program: https://code.world/#P60QcgblSNtx_Pa_JEqGNGg
Message:
program.hs:9:62: error:
parse error
• Are you missing a parenthesis?
- 主要语言
- Haskell
- 星标
- 1.3k
- 派生
- 201
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
google/codeworld 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 78/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
my solution未关闭
难度 4/5 3-5 天 新手友好度 25/100
-
难度 4/5 3-5 天 新手友好度 25/100
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
compiler-explorer/compiler-explorer#9272 ·
维护者通常 1 天内回复
-
enhancement
难度 1/5 1 小时以内 新手友好度 82/100
alunduil/siren-json.hs#247 ·
维护者通常 1 天内回复
-
enhancement
难度 1/5 1 小时以内 新手友好度 85/100
alunduil/network-arbitrary#196 ·
维护者通常 1 天内回复
-
enhancement
难度 1/5 1 小时以内 新手友好度 82/100
alunduil/collection-json.hs#402 ·
维护者通常 1 天内回复
-
`--margin` still counts code points when it measures the last line of a call in `Margin.hs`可能已有人在做 @sherenkov 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 83/100
objectionary/phino#1871 · 2 条评论 ·
维护者通常 1 天内回复