ClosedBit error docs

CB_ERR_SYNTAX

Syntax shape error. The source could not be parsed into valid CBP statements, blocks, or expressions.

Why it happens

The source could not be parsed into valid CBP statements, blocks, or expressions.

How to fix it

Fix the line shown first, then check the previous line for an unclosed string, bracket, parenthesis, or block.

Copy-paste fix pattern
fn main() {
    println("ready")
}
Runtime and Studio now show this kind of page from the error dialog: plain message first, stable code second, original details third.