stan-dev / stanc3

The Stan transpiler (from Stan to C++ and beyond).
BSD 3-Clause "New" or "Revised" License
138 stars 44 forks source link

Iinformative error message for expired array syntax #1412

Closed andrjohns closed 3 months ago

andrjohns commented 3 months ago

We're still seeing some confusion from users when they try to run Stan code with the old array syntax, since the error message references a missing semicolon instead of the syntax usage (recent example).

Can the error message be updated to specify that the array syntax is the problem (and possibly include a link to the doc so they know what to change)?