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

Aperta Adatta ai principianti
#2,518 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
62/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
c, markdown
Ambito
documentation

Direzione di ricerca

La riga sandbox_run di docs/BUILTINS.md elenca solo i tipi di errore parse e sandbox. Individua nel sorgente C il punto in cui sandbox_run costruisce il suo oggetto error ed elenca ogni kind che può produrre, incluso value per un descrittore di chunk rifiutato. Aggiungi questi kind alla riga, poi esegui sandbox_run su [1, "code", []] per confermare la risposta value e aggiungila come esempio nella documentazione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
C
Stelle
3
Fork
7
Merge medio
6h 10m
PR unite (30g)
261

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di InauguralSystems/EigenScript

Tutte le issue di InauguralSystems/EigenScript

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.