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

Handle final var lambda variables #926

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

bwRavencl
Copy link
Contributor

Backported the following upstream fix of @cushon: google/google-java-format@1fe6789
Original issue: google/google-java-format#959

Before this PR

Processing lambda functions with arguments declared with final var produces: error: did not generate token "final"

After this PR

Process lambda functions with arguments declared with final var no longer produces an error message.

@palantirtech
Copy link
Member

Thanks for your interest in palantir/palantir-java-format, @bwRavencl! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

Copy link
Contributor

@fawind fawind left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for fixing this!

@bulldozer-bot bulldozer-bot bot merged commit eb0d739 into palantir:develop Sep 13, 2023
@svc-autorelease
Copy link
Collaborator

Released 2.37.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants