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
I'm not sure just how far I want to go with this. The library is built with speed in mind, so there are limits to just how much context we can carry around. That said just creating errors at lexeme level and throwing them in the user's face with just the single character source is way too brutal. There's certainly enough information at compile time to get something like String literal expected but found <actualExpr> using skipValue to extract actualExpr and using the whole skipped expression's position to report the error. Or something.
When I supplied a typedef with wrong types, to be the parsing result for Json.parse function
I got the following exception.
An example for a better error message can be:
Thanks!
The text was updated successfully, but these errors were encountered: