You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We got better at this but right no we can have errors in "a * b" that get translated as "multiply(a, b)" in the error messages, even though the user never wrote "multiply". This is an issue with any kind of intermediate form normalization (* being replaced with multiply here)---we need a path back to the actual user input.
On Dec 13, 2018, at 8:18 AM, Matthijs Vákár ***@***.***> wrote:
Could you clarify this issue a bit more?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
Ah right. This has been fixed in stanc3, then. It comes with a pretty printer to render an AST as Stan syntax. (Can be used for auto-formatting.) The error messages thrown by the compiler render AST nodes using this pretty printer whenever they need to refer to a node in the error. In particular, operators get rendered properly.
There are still some cases that aren't working properly.
The text was updated successfully, but these errors were encountered: