Skip to content

Fix source range offsets for lists, maps and messages.#1726

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_814612738
Jun 11, 2026
Merged

Fix source range offsets for lists, maps and messages.#1726
copybara-service[bot] merged 1 commit into
masterfrom
test_814612738

Conversation

@copybara-service

Copy link
Copy Markdown

Fix source range offsets for lists, maps and messages.

Update the parser to derive the source range for list, map, and struct/message creation expressions from the full parser rule context rather than just the opening token. This ensures the recorded offsets in EnrichedSourceInfo span the entire composite expression.

Update the parser to derive the source range for list, map, and struct/message creation expressions from the full parser rule context rather than just the opening token. This ensures the recorded offsets in `EnrichedSourceInfo` span the entire composite expression.

PiperOrigin-RevId: 930338742
@copybara-service copybara-service Bot merged commit 167e797 into master Jun 11, 2026
@copybara-service copybara-service Bot deleted the test_814612738 branch June 11, 2026 07:29
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