-
Notifications
You must be signed in to change notification settings - Fork 281
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
Catch macro expansion exceptions in ScalacWorker #1489
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @thirtyseven! Would you be able to contribute an end to end test?
I can take a stab at it, are there any existing e2e tests for the existing case of handling |
It doesn't appear that there are any, I'll try to add e2e tests for both cases. |
@liucijus Actually, I couldn't figure out how to reproduce the previous |
Thanks for the review! FYI I do not have commit access so will need someone else to merge. |
Description
Catch scalac exceptions that occur during expansion of user macros so that the entire worker doesn't crash.
Motivation
Fixes #1488