Skip to content

Fixing bug after previous fix was not complete - #779

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

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

Conversation

@danieltrt

@danieltrt danieltrt commented Oct 6, 2025

Copy link
Copy Markdown
Collaborator

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.

Comment thread tests/test_piranha.py
name="logic_triggered_only_after_match_only_parent_rule",
query='cs if (other_check) { }',
replace_node="*",
is_seed_rule=False

Copy link
Copy Markdown
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