feat(transformer/statement-injector): add an assertion to check if it still contains statements that don't inject#9063
Merged
graphite-app[bot] merged 1 commit intomainfrom Feb 18, 2025
Conversation
Member
Author
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
CodSpeed Performance ReportMerging #9063 will not alter performanceComparing Summary
|
overlookmotel
approved these changes
Feb 15, 2025
Member
overlookmotel
left a comment
There was a problem hiding this comment.
This is a really good idea. You can ignore my nit about naming if you can't be bothered!
27b2fe4 to
0abf0d8
Compare
c35f52b to
06b6052
Compare
06b6052 to
61d2090
Compare
0abf0d8 to
52bbfc2
Compare
3896b18 to
29d72ae
Compare
52bbfc2 to
a851799
Compare
overlookmotel
approved these changes
Feb 18, 2025
a851799 to
c2101ad
Compare
29d72ae to
f5e73e0
Compare
Member
Merge activity
|
f5e73e0 to
d7e3555
Compare
… still contains statements that don't inject (#9063) When there are still statements that aren't inserted after the visitor ends, it means statements inserted with an incorrect address or outdated address (e.g., the original statement has mutated to a new statement). This PR adds an assertion to expose this potential bug as soon as possible on the development side.
d7e3555 to
3289721
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

When there are still statements that aren't inserted after the visitor ends, it means statements inserted with an incorrect address or outdated address (e.g., the original statement has mutated to a new statement).
This PR adds an assertion to expose this potential bug as soon as possible on the development side.