You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Preserve the opening location of unterminated block comments #982
The lexer emits a label saying block comment starts here and never closes, but the primary span is a zero-width EOF location. No related span identifies an unmatched opener, especially when comments nest.
Reproduction
Audited canonical master 42b65e426ad45bf896623b5bce814312b694a0c7 on Linux amd64 with Rust 1.89 and LLVM 21.1.8. Reproductions use the checkout-built target/debug/wavec and matching checkout std. The local head d2f58962 has an identical file tree to that canonical merge. Commands below assume WAVEC names that binary.
Observed: E1002 at line 4, column 1, with no related location. The actual unmatched /* is line 2. Also executed nested /* outer /* inner : the failure contains no opener span.
Scope
Retain unmatched comment-opening provenance and show it as primary or related location, with expected */. Preserve nesting, newline tracking and bounded behavior. Keep EOF identity available rather than merely relabeling an unrelated byte.
Activity
Improve source diagnostics and reject recursive inline storage (wavef…