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

Convert additional lambdas to expressions based on number of args #329

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

timtebeek
Copy link
Contributor

What's changed?

Also look at number of arguments when looking for methods that might conflict in LambdaBlockToExpression.
The compiler should not get confused in there are a differing number of arguments in same name methods.

What's your motivation?

Allow adoption into

@timtebeek timtebeek self-assigned this Aug 16, 2024
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some suggestions could not be made:

  • src/test/java/org/openrewrite/staticanalysis/java/MoveFieldAnnotationToTypeTest.java
    • lines 19-19
    • lines 48-47

@timtebeek timtebeek merged commit 3baf39a into main Aug 16, 2024
2 checks passed
@timtebeek timtebeek deleted the convert-additional-lambdas-to-expressions branch August 16, 2024 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant