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

Investigate our approach to error tolerance #309

Open
1 of 160 tasks
egiurleo opened this issue Oct 28, 2024 · 0 comments
Open
1 of 160 tasks

Investigate our approach to error tolerance #309

egiurleo opened this issue Oct 28, 2024 · 0 comments
Assignees

Comments

@egiurleo
Copy link

egiurleo commented Oct 28, 2024

  • Sorbet already has some parser tests that capture their desired behavior
  • The Sorbet team at Stripe said they don't care that the error messages are exactly the same, just that we report similar errors in all the same situations
  • They also care about error and autocorrect locations, so if you see anything weird about locations, that's definitely something we have to fix!
  • Types of errors in Prism

Parse-tree

Preview Give feedback

Error location

Preview Give feedback
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

2 participants