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
Right now we rely on the NOM parser components to produce an error message. This work OK-ish but by times this could be improved through custom error messages.
Current State
This is the current error message. Indicating that it has expected a : but found a ) this is fine, it tells us what's needed on a token level.
Right now we rely on the NOM parser components to produce an error message. This work OK-ish but by times this could be improved through custom error messages.
Current State
This is the current error message. Indicating that it has expected a
:
but found a)
this is fine, it tells us what's needed on a token level.Desired Output
An improved error message would tell the user that the type information is missing, for example:
There are more such examples through out the parser.
The text was updated successfully, but these errors were encountered: