Exception when running Haskell program
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- haskell, javascript
- 领域
- compilers
调研方向
打开共享的 CodeWorld 程序,并在 Firefox 中重现异常。先从 runBaseJS 堆栈开始,尤其关注 h$upd_frame,然后将失败的运行结果与预期的两条线绘图进行比较。当共享程序能够在没有 TypeError 的情况下运行并绘制出两条线时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Shared Program: https://code.world/haskell#Pzf4CuhpqMeyaVWNgHuW8lQ
Description:
When writing a program in CodeWorld (Haskell) I encountered a bug where running the program resulted in exception (apparently with JS, looking at the error message below). The shared program is expected to draw 2 lines but instead gives the error:
uncaught exception in Haskell thread: TypeError: h$RTS_586.d2 is not a functionh$upd_frame@https://code.world/runBaseJS?version=b1bb58319376914fc0f41aa2c9c47165704b8b23b6e18a64a73af23f08132274:17139:33
h$runThreadSlice@https://code.world/runBaseJS?version=b1bb58319376914fc0f41aa2c9c47165704b8b23b6e18a64a73af23f08132274:6547:11
h$runThreadSliceCatch@https://code.world/runBaseJS?version=b1bb58319376914fc0f41aa2c9c47165704b8b23b6e18a64a73af23f08132274:6523:12
h$mainLoop@https://code.world/runBaseJS?version=b1bb58319376914fc0f41aa2c9c47165704b8b23b6e18a64a73af23f08132274:6518:9
partiallyApplied/<@https://code.world/runBaseJS?version=b1bb58319376914fc0f41aa2c9c47165704b8b23b6e18a64a73af23f08132274:2145:25
runIfPresent@https://code.world/runBaseJS?version=b1bb58319376914fc0f41aa2c9c47165704b8b23b6e18a64a73af23f08132274:2159:21
onGlobalMessage@https://code.world/runBaseJS?version=b1bb58319376914fc0f41aa2c9c47165704b8b23b6e18a64a73af23f08132274:2188:29
Reloading the page and running in different PC seems to have the same result.
Browser:
Mozilla Firefox 94.0.1
OS:
Edition Windows 10 Home
Version 21H1
OS build 19043.1348
Experience Windows Feature Experience Pack 120.2212.3920.0
- 主要语言
- Haskell
- 星标
- 1.3k
- 派生
- 201
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 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
-
docs
难度 1/5 1 小时以内 新手友好度 85/100
-
needs triage type: bug
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 70/100
-
doclayout-0.6 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
commercialhaskell/stackage#8126 ·