Skip to content

Stabilize macro id generation#962

Merged
TristonianJones merged 1 commit into
cel-expr:masterfrom
TristonianJones:stable-macro-renumber
Jun 12, 2024
Merged

Stabilize macro id generation#962
TristonianJones merged 1 commit into
cel-expr:masterfrom
TristonianJones:stable-macro-renumber

Conversation

@TristonianJones

Copy link
Copy Markdown
Collaborator

Update the macro id generation to occur in sorted order.

This issue is somewhat difficult to trigger, but any expression
with two macros present within it should eventually trip the issue.

The test has been updated to removed some redundant conditions
which were extant once the macro tracking in the test optimizer
was fixed to reflect how macro id tracking works within the production
optimizers.

@TristonianJones TristonianJones requested a review from l46kok June 10, 2024 19:45
@TristonianJones TristonianJones merged commit b27008a into cel-expr:master Jun 12, 2024
@TristonianJones TristonianJones deleted the stable-macro-renumber branch June 12, 2024 20:48
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