Skip to content

refactor: replace direct arg manipulation#6073

Merged
geooo109 merged 1 commit intomainfrom
geooo109/refactor_arg_pop
Oct 10, 2025
Merged

refactor: replace direct arg manipulation#6073
geooo109 merged 1 commit intomainfrom
geooo109/refactor_arg_pop

Conversation

@geooo109
Copy link
Collaborator

@geooo109 geooo109 commented Oct 10, 2025

PR motivation: expression comparison issue from public slack

This PR mades the codebase more robust after the change #5966 .

We avoid manipulating the args of an expression directly. For example args.pop(), avoids invalidating the cached hash, and as a result the comparison between two expression may be invalid.

@geooo109 geooo109 merged commit 2c9d15c into main Oct 10, 2025
6 checks passed
@geooo109 geooo109 deleted the geooo109/refactor_arg_pop branch October 10, 2025 13:18
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