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

Adding visited-file details to unexpected exceptions #2664

Merged
merged 2 commits into from
Jan 17, 2023
Merged

Conversation

nmck257
Copy link
Collaborator

@nmck257 nmck257 commented Jan 17, 2023

Minimally, these exceptions will now include the visited file, and grammar-specific visitors can add more precise info (eg for JavaVisitor I've added quick logic to specify by class/method name).

Would be neat to expand with line numbers, but, I didn't see an obvious way to get that during a visit

#2655

@nmck257 nmck257 requested a review from timtebeek January 17, 2023 20:24
@nmck257 nmck257 changed the title Adding visited-file details to unexpected exceptions (#2655) Adding visited-file details to unexpected exceptions Jan 17, 2023
@nmck257
Copy link
Collaborator Author

nmck257 commented Jan 17, 2023

cc @knutwannheden

@sambsnyd sambsnyd merged commit 0774710 into main Jan 17, 2023
@sambsnyd sambsnyd deleted the feature/2655 branch January 17, 2023 20:56
@sambsnyd
Copy link
Member

Thanks @nmck257 ! Nice improvement to have

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

Successfully merging this pull request may close these issues.

2 participants