Skip to content

Avoid renumbering the ASTs when no mutations are applied to the AST. - #1207

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_977455819
Open

Avoid renumbering the ASTs when no mutations are applied to the AST.#1207
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_977455819

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

Avoid renumbering the ASTs when no mutations are applied to the AST.

We want to use referential identity to check is the AST was the same pre/post-optimization. To do this, we need to make sure that we apply renumberIdsConsecutively only if the AST was actually mutated.

Until now, we updated the CEL-Java optimizers - see cl/976189920.

We want to use referential identity to check is the AST was the same pre/post-optimization. To do this, we need to make sure that we apply `renumberIdsConsecutively` only if the AST was actually mutated.

Until now, we updated the CEL-Java optimizers - see cl/976189920.

PiperOrigin-RevId: 977455819
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.

0 participants