Skip to content

Comments

Fixing bug after previous fix was not complete#779

Merged
danieltrt merged 2 commits intomasterfrom
danieltrt/bug-fix
Oct 6, 2025
Merged

Fixing bug after previous fix was not complete#779
danieltrt merged 2 commits intomasterfrom
danieltrt/bug-fix

Conversation

@danieltrt
Copy link
Collaborator

@danieltrt danieltrt commented Oct 6, 2025

The previous bug fix was partial. It would work for single application of rules, but not until fix point because I forgot to add the edit to the queue. I've modified the test to reflect the correct behavior and fixed the bug.

name="logic_triggered_only_after_match_only_parent_rule",
query='cs if (other_check) { }',
replace_node="*",
is_seed_rule=False
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This rule was triggering because is_seed_rule is True by default

@danieltrt danieltrt merged commit 8184223 into master Oct 6, 2025
4 checks passed
@danieltrt danieltrt deleted the danieltrt/bug-fix branch October 6, 2025 13:44
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.

2 participants