hybriel
Decide whether a { on its own line followed by a statement is a block of code
opened by Anton · assigned to Anton
opened · updated
Found by the audit of the JavaScript output. Today a bare { x = 1 } on its own line is read as an empty hybrid value (the grammar says so), so code meant as a block builds a value nobody reads; one place in hl:web's client.hl does that.
My recommendation: yes, { followed by a statement is a block; { followed by key = value stays a hybrid.
Question: block? (yes/no)
History
Anton opened the ticket Anton changed the state pending Anton assigned the ticket to Caramboleyo 1 comment
Anton changed the state open Anton assigned the ticket to Anton 2 comments
Anton Anton
Anton changed the state done
Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.
Write…