Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@TristonianJones
Copy link
Collaborator

In expressions where the logic is nested and the residual state would result in the production of a constant value in the expression, ensure that the intermediate state for the expression is updated to reflect the constant value.

Also, ensure that special cases of pruning for logical operators happen after argument pruning has happened to ensure that the prune steps are properly recursive.

In expressions where the logic is nested and the residual
state would result in the production of a constant value
in the expression, ensure that the intermediate state for
the expression is updated to reflect the constant value.

Also, ensure that special cases of pruning for logical
operators happen after argument pruning has happened to
ensure that the prune steps are properly recursive.
@TristonianJones TristonianJones requested a review from jcking April 6, 2023 01:28
@TristonianJones TristonianJones merged commit b081aea into google:master Apr 6, 2023
@TristonianJones TristonianJones deleted the prune-recursion-fix branch April 6, 2023 15:52
TristonianJones added a commit to TristonianJones/cel-go that referenced this pull request Apr 12, 2023
In expressions where the logic is nested and the residual
state would result in the production of a constant value
in the expression, ensure that the intermediate state for
the expression is updated to reflect the constant value.

Also, ensure that special cases of pruning for logical
operators happen after argument pruning has happened to
ensure that the prune steps are properly recursive.
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