0xMiden / 0xMiden/compiler

`Diagnostic::labels` are not printed

Offen
#380 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
ux
Vorherrschende Sprache
Rust
Sterne
115
Forks
84
Ø Merge
1 T. 8 Std.
Gemergte PRs (30 T.)
15

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.