Skip to content

Conversation

@rcosta358
Copy link
Collaborator

@rcosta358 rcosta358 commented Nov 10, 2025

This PR is a follow-up of #81 and based on #109 (already performed rebase).

  • The ErrorHandler was removed
  • The ErrorEmitter was replaced by LJDiagnostics, which is now referenced statically to avoid passing it as an argument throughout the code

Errors still need to be refactored for better clarity.

Copy link
Collaborator

@CatarinaGamboa CatarinaGamboa left a 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) {
Copy link
Collaborator

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

Copy link
Collaborator Author

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);
Copy link
Collaborator

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) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nicee

@rcosta358 rcosta358 merged commit b4b41e0 into main Nov 13, 2025
1 check passed
@rcosta358 rcosta358 mentioned this pull request Nov 13, 2025
@rcosta358 rcosta358 deleted the new-diagnostics branch November 15, 2025 19:10
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

Successfully merging this pull request may close these issues.

3 participants