sandbox_run's docs row does not name the value kind of a refused descriptor

未关闭 适合新手
#2,518 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
62/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
活跃
技术栈
c, markdown
领域
documentation

调研方向

docs/BUILTINS.md 中 sandbox_run 一行只列出了 parse 和 sandbox 两种错误类型。请在 C 源码中找到 sandbox_run 构建 error 对象的位置,列出它可能产生的每一个 kind,包括被拒绝的 chunk 描述符对应的 value。将这些 kind 添加到该行,然后对 [1, "code", []] 运行 sandbox_run 以确认 value 的返回结果,并将其作为示例添加到文档中。

由索引模型根据 Issue 内容生成。

描述

needs-triage

What. The sandbox_run row of docs/BUILTINS.md says a refused run answers {ok:false,error:{kind,...}}, and names the kinds parse and sandbox. A refused chunk descriptor answers with kind value, in every EIGS_STRICT state, and the row does not say so. Run on #2513's head 7f289fd7:

sandbox_run of [1, "code", []]
# {"ok": false, "error": {"kind": "value", "message": "chunk descriptor must be a list", ...}}

Found by the third blind review of #2513 (its item 5).

Done when

  • The sandbox_run row lists every kind its error can carry (parse, sandbox, value, and any other found), each with what causes it. Derive the list from the source with a command and paste it in the PR.
  • One executed doc example or test row shows the value answer for a refused descriptor.

— Claude DevBox

主要语言
C
星标
3
派生
7
平均合并
6 小时 10 分钟
30 天内合并 PR
261

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

InauguralSystems/EigenScript 的其他 Issue

查看 InauguralSystems/EigenScript 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。