Skip to content

Ensure descendants are cleaned up when removing a top level declaration#785

Merged
vinistock merged 1 commit into
mainfrom
04-18-ensure_descendants_are_cleaned_up_when_removing_a_top_level_declaration
Jul 7, 2026
Merged

Ensure descendants are cleaned up when removing a top level declaration#785
vinistock merged 1 commit into
mainfrom
04-18-ensure_descendants_are_cleaned_up_when_removing_a_top_level_declaration

Conversation

@vinistock

@vinistock vinistock commented May 6, 2026

Copy link
Copy Markdown
Member

We weren't always cleaning up descendants properly if certain declaration scenarios are modified.

This PR ensures that we clean up descendants for modified declarations and adds a test example that breaks before the patch.

vinistock commented May 6, 2026

Copy link
Copy Markdown
Member Author

@vinistock vinistock force-pushed the 04-18-ensure_descendants_are_cleaned_up_when_removing_a_top_level_declaration branch from 9eda9e2 to bcc2d8b Compare June 17, 2026 14:19
@vinistock vinistock self-assigned this Jun 17, 2026
@vinistock vinistock added the bugfix A change that fixes an existing bug label Jun 17, 2026
@vinistock vinistock marked this pull request as ready for review June 17, 2026 14:21
@vinistock vinistock requested a review from a team as a code owner June 17, 2026 14:21
@vinistock vinistock force-pushed the 04-18-ensure_descendants_are_cleaned_up_when_removing_a_top_level_declaration branch from bcc2d8b to dfa4e03 Compare July 7, 2026 20:36
@vinistock vinistock enabled auto-merge July 7, 2026 20:37
@vinistock vinistock merged commit 6792ca9 into main Jul 7, 2026
36 checks passed
@vinistock vinistock deleted the 04-18-ensure_descendants_are_cleaned_up_when_removing_a_top_level_declaration branch July 7, 2026 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix A change that fixes an existing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants