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

Fix: issue 3924 Removing ImportDeclaration with Annotated package thr… #3926

Merged
merged 2 commits into from
Feb 27, 2023

Conversation

jlerbsc
Copy link
Collaborator

@jlerbsc jlerbsc commented Feb 27, 2023

…ough LexicalPreservingPrinter

The position of the package declaration must include the position of the annotation because the annotation is an attribute of the package declaration node.

Fixes #3924 .

@jlerbsc jlerbsc merged commit 58333f0 into javaparser:master Feb 27, 2023
@jlerbsc jlerbsc added this to the Next release milestone Feb 27, 2023
@jlerbsc jlerbsc added the PR: Fixed A PR that offers a fix or correction label Feb 27, 2023
@blacelle
Copy link
Contributor

Thanks @jlerbsc . Any ETA for next JavaParser release?

@jlerbsc
Copy link
Collaborator Author

jlerbsc commented Feb 27, 2023

I tried to do a release every 1st of the month so the next one is coming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Fixed A PR that offers a fix or correction
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Removing ImportDeclaration with Annotated package through LexicalPreservingPrinter
2 participants