Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: don't use -1 for whole file offsets #6043

Merged
merged 1 commit into from Mar 8, 2024

Conversation

zrlk
Copy link
Contributor

@zrlk zrlk commented Mar 8, 2024

The schema now defines [0, 0) as an anchor that covers an entire file. The offsets set in this file are never actually used (since they go into the file-scope rule list), so keeping them around is confusing at best.

The schema now defines [0, 0) as an anchor that covers an
entire file. The offsets set in this file are never actually used
(since they go into the file-scope rule list), so keeping them
around is confusing at best.
@zrlk zrlk enabled auto-merge (squash) March 8, 2024 00:02
@zrlk zrlk merged commit ead8c9a into kythe:master Mar 8, 2024
5 checks passed
@zrlk zrlk deleted the pb-metadata-offsets branch March 8, 2024 01:18
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.

None yet

2 participants