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

Update statement indices after rule.File.Sync #234

Merged
merged 1 commit into from
Jun 21, 2018

Conversation

jayconrod
Copy link
Contributor

Before this fix, the index of load statements and rules (stored in
baseStmt) was not updated when the file was synced. It would no longer
point to the correct statement in the build file if insertions or
deletions occurred in earlier parts of the file.

Before this fix, the index of load statements and rules (stored in
baseStmt) was not updated when the file was synced. It would no longer
point to the correct statement in the build file if insertions or
deletions occurred in earlier parts of the file.
@jayconrod jayconrod requested a review from ianthehat June 20, 2018 18:35
@jayconrod jayconrod merged commit e0e87a7 into bazel-contrib:master Jun 21, 2018
@jayconrod jayconrod deleted the fix-delete branch June 21, 2018 14:00
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