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 Syntax Error Messages #348

Open
InsertCreativityHere opened this issue Nov 16, 2022 · 1 comment
Open

Improve Syntax Error Messages #348

InsertCreativityHere opened this issue Nov 16, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request task
Milestone

Comments

@InsertCreativityHere
Copy link
Member

Common syntax mistakes should be given dedicated error messages.

All other syntax error messages should be cleaned up to be more human readable. Right now they leak the identifiers of tokens, which is subpar. For example: expected one of "{", but found 'Comma'
This could be improved considerably.

@ReeceHumphreys ReeceHumphreys added the enhancement New feature or request label Dec 15, 2022
@ReeceHumphreys ReeceHumphreys added this to the 0.1 milestone Jan 4, 2023
@InsertCreativityHere
Copy link
Member Author

A not-obvious, but clear example that needs fixing is: #516 (comment)

@InsertCreativityHere InsertCreativityHere self-assigned this Jun 5, 2023
@InsertCreativityHere InsertCreativityHere modified the milestones: 0.1, 0.2 Aug 28, 2023
@InsertCreativityHere InsertCreativityHere modified the milestones: 0.2, 0.1.1 Sep 19, 2023
@InsertCreativityHere InsertCreativityHere modified the milestones: 0.1.1, 0.2.1 Nov 28, 2023
@InsertCreativityHere InsertCreativityHere modified the milestones: 0.2.2, 0.4 Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request task
Projects
None yet
Development

No branches or pull requests

2 participants