CFML construction question for variables of type structure with comma
In our development environment, we've started testing and deploying new code with CF2025.
However, our CI/CD is based on CF2023, as it's still in our production environments.
We've had a compilation error in our pipelines, which I'll summarize here:
<cfscript>
s = {
key1 = 1,
}
writeDump(s);
</cfscript>
On CF2025: no reports
On CF2023 (or all other previous versions): an "Invalid CFML construct found" exception is received
In my opinion, the exception reporting handled so far in CF2023 is correct and is a bug to report in CF2025.
In your opinion, is it right or wrong?
