Skip to content

Improve interactions between wroteAnythingSignificant and whitespace requests.#1414

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_945762339
Jul 10, 2026
Merged

Improve interactions between wroteAnythingSignificant and whitespace requests.#1414
copybara-service[bot] merged 1 commit into
masterfrom
test_945762339

Conversation

@copybara-service

Copy link
Copy Markdown

Improve interactions between wroteAnythingSignificant and whitespace requests.

Mainly, make all whitespace requests into no-ops if we haven't written anything significant yet. This lets us remove various existing special cases.

But also, start setting wroteAnythingSignificant in some locations where we write to output without using writeToken (which would set wroteAnythingSignificant automatically).

…e requests.

Mainly, make all whitespace requests into no-ops if we haven't written anything significant yet. This lets us remove various existing special cases.

But also, start setting `wroteAnythingSignificant` in some locations where we write to `output` without using `writeToken` (which would set `wroteAnythingSignificant` automatically).

PiperOrigin-RevId: 945842813
@copybara-service copybara-service Bot merged commit e4cef58 into master Jul 10, 2026
@copybara-service copybara-service Bot deleted the test_945762339 branch July 10, 2026 19:38
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