Skip to content

Conversation

@HertzDevil
Copy link
Contributor

The AST node of interest is always the last one, the previous elements of an Expressions node only serve to turn specific Calls into Vars. It suffices to have assert_expand always expand the last element of any Expressions node.

@straight-shoota straight-shoota added this to the 1.19.0 milestone Oct 21, 2025
@straight-shoota straight-shoota merged commit c53448d into crystal-lang:master Oct 23, 2025
42 checks passed
@HertzDevil HertzDevil deleted the refactor/assert-expand-n branch October 23, 2025 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants