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

オープン 初心者向け
#2,518 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
62/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
活発
技術スタック
c, markdown
領域
documentation

調査の方向性

docs/BUILTINS.md の sandbox_run の行には、エラーの種類として parse と sandbox しか挙げられていません。C ソースで sandbox_run が error オブジェクトを構築している箇所を見つけ、拒否されたチャンク記述子の value を含め、出力しうるすべての kind を列挙してください。それらの 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分
マージ済み PR(30日)
261

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

InauguralSystems/EigenScript のほかの issue

InauguralSystems/EigenScript の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。