Skip to content

Indent hugged expression lambdas +8 at the root of method chains. - #1489

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_1001169339
Oct 20, 2026
Merged

copybara-service[bot] merged 1 commit into
masterfrom
test_1001169339

Conversation

@copybara-service

Copy link
Copy Markdown

Indent hugged expression lambdas +8 at the root of method chains.

When a call at the root of a dereference chain with trailing dereferences has a hugged expression lambda argument (e.g. SpliteratorTester.of(() -> ...).expect(...)), preserve the extra +4 argument indentation so the lambda body is indented at +8, differentiating it from the chained .expect(...) call at +4.

When a call at the root of a dereference chain with trailing dereferences has a hugged expression lambda argument (e.g. `SpliteratorTester.of(() -> ...).expect(...)`), preserve the extra `+4` argument indentation so the lambda body is indented at `+8`, differentiating it from the chained `.expect(...)` call at `+4`.

PiperOrigin-RevId: 1003176463
@copybara-service
copybara-service Bot merged commit 710bb2a into master Oct 20, 2026
12 checks passed
@copybara-service
copybara-service Bot deleted the test_1001169339 branch October 20, 2026 16:48
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