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

parser adds $missing$ with wrong start position #3420

Open
martinlippert opened this issue Dec 9, 2024 · 0 comments
Open

parser adds $missing$ with wrong start position #3420

martinlippert opened this issue Dec 9, 2024 · 0 comments

Comments

@martinlippert
Copy link

martinlippert commented Dec 9, 2024

As a follow-up from #3156:

For:

@Value(spring.) private String value1;

The fix for #3156 works, the spring. stay within the AST and a SimpleName node is added for the $missing$ part behind the .. But the start position of the $missing$ node is the same as the start position for the QualifiedNode and the same for the SimpleNode for spring.

I think the start position for the $missing$ node should be right after the ..

(using org.eclipse.jdt.core 3.40.0)

(FYI: @mickaelistria and @stephan-herrmann)

@martinlippert martinlippert changed the title parser adds $missing with wrong start position parser adds $missing$ with wrong start position Dec 9, 2024
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

No branches or pull requests

1 participant