-
Notifications
You must be signed in to change notification settings - Fork 33
Replace ErrorEmitter with LJDiagnostics
#110
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
Conversation
`CtElement` will also need to be replaced at some point
4904ad2 to
dc17425
Compare
CatarinaGamboa
left a comment
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.
left some comments but nothing major, feel free to address them or leave them for another time
| import spoon.support.QueueProcessingManager; | ||
|
|
||
| public class CommandLineLauncher { | ||
| public static void main(String[] args) { |
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.
We can add these examples in the javadoc of the method
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.
Actually I don't think those comments are accurate, the path liquidjava-example/src/main/java/ works fine on VS Code.
|
|
||
| public CustomError(String message) { | ||
| super("Found Error", message, null); | ||
| super("Found Error", message, null, null, null); |
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.
we should avoid having nulls, but if you think its needed its fine
| } | ||
| } | ||
|
|
||
| private static boolean isCorrect(String path) { |
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.
nicee
This PR is a follow-up of #81 and based on #109 (already performed rebase).
ErrorHandlerwas removedErrorEmitterwas replaced byLJDiagnostics, which is now referenced statically to avoid passing it as an argument throughout the codeErrors still need to be refactored for better clarity.