Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error messages to indicate reserved word assignment #53

Open
AndySomogyi opened this issue Dec 11, 2020 · 0 comments
Open

Improve error messages to indicate reserved word assignment #53

AndySomogyi opened this issue Dec 11, 2020 · 0 comments

Comments

@AndySomogyi
Copy link

The antimony language evidently has many reserved words such as "lt", "gt", etc. Most users would have no idea about these, and users frequently name a variable the same on one of the reserved names. This results in an extremely confusing error message.

We should update the parser to clearly indicate when a reserved word is attempted to be used in an invalid way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant