Skip to content

Handle var in UnnecessaryBoxedVariable#5541

Closed
copybara-service[bot] wants to merge 0 commit intomasterfrom
test_874028319
Closed

Handle var in UnnecessaryBoxedVariable#5541
copybara-service[bot] wants to merge 0 commit intomasterfrom
test_874028319

Conversation

@copybara-service
Copy link
Contributor

Handle var in UnnecessaryBoxedVariable

Add a helper for replacing local variable types that handles var.

Often we want to avoid replacing types of var local variables, but in this case using an explicit unboxed type will avoid the unnecessary boxing, and using var for primitive types seems low value.

#5522

@copybara-service copybara-service bot force-pushed the test_874028319 branch 5 times, most recently from 4e3364a to 868e7f9 Compare February 25, 2026 20:18
@copybara-service copybara-service bot closed this Feb 25, 2026
@copybara-service copybara-service bot deleted the test_874028319 branch February 25, 2026 20:28
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.

0 participants