Skip to content

Clean up VariableNameSameAsType#5474

Merged
copybara-service[bot] merged 1 commit intomasterfrom
test_860043086
Feb 2, 2026
Merged

Clean up VariableNameSameAsType#5474
copybara-service[bot] merged 1 commit intomasterfrom
test_860043086

Conversation

@copybara-service
Copy link
Contributor

Clean up VariableNameSameAsType

If JDK-8268850 is fixed, the VariableTree for inferred lambda parameter types may be null, which breaks assumptions in this check. Getting the Type from the VariableTree instead address that issue, and also simplifies this check a bit.

If JDK-8268850 is fixed, the `VariableTree` for inferred lambda parameter types may be `null`, which breaks assumptions in this check. Getting the `Type` from the `VariableTree` instead address that issue, and also simplifies this check a bit.

PiperOrigin-RevId: 864300453
@copybara-service copybara-service bot merged commit 0aaf576 into master Feb 2, 2026
@copybara-service copybara-service bot deleted the test_860043086 branch February 2, 2026 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant