Diagnostics
T442
struct literal does not start with a type name
T442
A { field: value } body may only follow a declared type's name; it cannot follow a call or any other expression. Remove the block or construct the record from a type name.
Failing example
script "conf"
alert a = alert(title: "T") { main: 1 }Corrected example
script "fixed"
alert a = alert(title: "T")