Skip to content

Fix children iterators to include Def variants (Issue #719)#760

Open
Aletheia-Prime wants to merge 1 commit intoHigherOrderCO:mainfrom
Aletheia-Prime:fix-children-719
Open

Fix children iterators to include Def variants (Issue #719)#760
Aletheia-Prime wants to merge 1 commit intoHigherOrderCO:mainfrom
Aletheia-Prime:fix-children-719

Conversation

@Aletheia-Prime
Copy link
Copy Markdown

The children iterators in Term were incorrectly not returning the 'nxt' field from Def variants. This caused AST traversal passes to miss subtrees, leading to various compilation bugs.

This adds proper handling for Def terms in both children() and children_mut() methods.

The children iterators in Term were incorrectly not returning the 'nxt' field from Def variants.
This caused AST traversal passes to miss subtrees, leading to various compilation bugs.

This adds proper handling for Def terms in both children() and children_mut() methods.
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