DEVELOPMENT EDITION · 769442725406
Diagnostics Reference
B0601: unterminated block comment
Catalog status: active. Default severity: error. Stable name: unterminated-comment. Family: Syntax and source text.
A /* comment is never closed. Varc's block comments nest, as in Rust and Swift, so each /* inside a comment needs its own */.
Example (Varc)
/* the parser /* reads */ this
fn main() {}
What to do
Close every /* with a */, or use // comments, which end at the end of the line.
Regression source and further reading
Complete regression example: source, command arguments and expected results. The fixture deliberately reproduces this diagnostic.
See syntax and source text, the code index, and diagnostic interpretation for modes, replay, fix-its and JSON.