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

Recreate static imports for identifiers in ChangeType #4291

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

timtebeek
Copy link
Contributor

What's changed?

When we change the type of identifiers, also recreate any static imports, same as we do for method invocations.
These static imports are also removed when the RemoveImport visitor removes non-static imports, so we really need to recreate these as opposed to changing the type of an existing import.

What's your motivation?

@timtebeek timtebeek merged commit 0de8dc4 into main Jun 27, 2024
2 checks passed
@timtebeek timtebeek deleted the recreate-static-imports-for-identifiers branch June 27, 2024 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants