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 local var cleanup to avoid method references #1541

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

jjohnstn
Copy link
Contributor

What it does

See issue.

How to test

See new test or issue.

Author checklist

- fix VarCleanUpCore visitor maybeUserVar() method to return false
  for a method reference initializer
- add new test to CleanUpTest11
- fixes eclipse-jdt#1524
@jjohnstn jjohnstn self-assigned this Jul 24, 2024
@jjohnstn jjohnstn added the bug Something isn't working label Jul 24, 2024
@jjohnstn jjohnstn added this to the 4.33 M2 milestone Jul 24, 2024
@jjohnstn jjohnstn merged commit 22e6bef into eclipse-jdt:master Jul 25, 2024
6 of 9 checks passed
@jjohnstn jjohnstn deleted the varbug branch July 25, 2024 20:12
@jjohnstn
Copy link
Contributor Author

Test failures are not caused by this fix.

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
None yet
Development

Successfully merging this pull request may close these issues.

cleanup "use local variable type interference" refactors method references and creates error
1 participant