-
Notifications
You must be signed in to change notification settings - Fork 363
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
ChangeType leads to botched imports for nested fields #4292
Conversation
@sambsnyd if you're up for a puzzle, here's that updated test. I didn't yet get into looking why this now happens |
rewrite-java/src/main/java/org/openrewrite/java/ChangeType.java
Outdated
Show resolved
Hide resolved
This comparison fails
For this test rewrite/rewrite-java-test/src/test/java/org/openrewrite/java/ChangeTypeTest.java Lines 164 to 166 in 1d8b3c3
Because everything up to |
After
We continued to see issues in
I've updated the test to better replicate the issue there. With this change the test fails with left imports.