bytecodealliance / bytecodealliance/componentize-py

Improve type mismatch detection and reporting

Aperta
#13 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
277
Fork
51
Merge medio
12h 10m
PR unite (30g)
10

Descrizione

Currently, if Python code passes the wrong number or types of parameters to the host, or returns a result of an unexpected type, `componentize-py` generally reacts by panicking and trapping. That's probably unavoidable in most cases, but it should at least print an informative and actionable diagnostic prior to panicking.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.