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

[FEA] Improve regexp error messages #4537

Closed
andygrove opened this issue Jan 14, 2022 · 0 comments · Fixed by #5871
Closed

[FEA] Improve regexp error messages #4537

andygrove opened this issue Jan 14, 2022 · 0 comments · Fixed by #5871
Assignees
Labels
task Work required that improves the product but is not user facing

Comments

@andygrove
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Some of the error messages thrown by the transpiler, such as "nothing to repeat", are not very helpful to end-users. It would be better to throw more specific errors, such as "cannot support choice with empty left-hand side". It would be nice to include the position within the regular expression pattern as well.

Describe the solution you'd like
See above.

Describe alternatives you've considered
None

Additional context
None

@andygrove andygrove added feature request New feature or request ? - Needs Triage Need team to review and classify labels Jan 14, 2022
@sameerz sameerz added task Work required that improves the product but is not user facing and removed feature request New feature or request ? - Needs Triage Need team to review and classify labels Jan 18, 2022
@anthony-chang anthony-chang self-assigned this Jun 16, 2022
@sameerz sameerz added this to the Jun 20 - Jul 8 milestone Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task Work required that improves the product but is not user facing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants