0xMiden / 0xMiden/compiler

`Diagnostic::labels` are not printed

Aperta
#380 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
ux
Lingua principale
Rust
Stelle
115
Fork
84
Merge medio
1g 8h
PR unite (30g)
15

Descrizione

To reproduce:
- remove the https://github.com/0xPolygonMiden/compiler/blob/greenhat/i363-op-tests/frontend-wasm2/src/code_translator/tests.rs#L33-L40 extra label printing;
- run any failing test due to #378;
- observe the labels are not shown;

Both `Display` and `Debug` implementation. I suspect the empty `SourceSpan` is the reason.

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.