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

Simplify lambda blocks to expressions replaces return that is used to infer which overloaded method to pick #163

Merged

Conversation

pstreef
Copy link
Contributor

@pstreef pstreef commented Aug 24, 2023

adding a test for #162

@pstreef
Copy link
Contributor Author

pstreef commented Aug 24, 2023

Note that there are no compiler warnings or errors reported

@timtebeek
Copy link
Contributor

Could this be a variant of #10 ?

@timtebeek timtebeek added the bug Something isn't working label Aug 24, 2023
@kunli2 kunli2 merged commit e1cfd80 into openrewrite:main Aug 24, 2023
@timtebeek
Copy link
Contributor

@kunli2 Merging this one was maybe a bit too soon; the test output here does not compile, and it should likely have been a test asserting no change was made.

kunli2 referenced this pull request Aug 24, 2023
@kunli2
Copy link
Contributor

kunli2 commented Aug 24, 2023

@timtebeek , Yes, sorry about that, I found it's a fork here but not a branch, so I am not able to make a change on it here, so I planned to fix this issue right away after merging this.
The fix is here

@timtebeek
Copy link
Contributor

Great thanks! Does this then also fix #10 ?

@kunli2
Copy link
Contributor

kunli2 commented Aug 24, 2023

Great thanks! Does this then also fix #10 ?

I don't think so, #10 looks like a different problem

@pstreef
Copy link
Contributor Author

pstreef commented Aug 25, 2023

@kunli2 thanks for this quick 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
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants