You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the policy that I'm evaluating. I accidentally duplicated a variable and then ran a partial evaluation on the rule. As a result, I got a stack overflow error. Here is my policy
To fix this I modified either the some file variable or the file = data.file to be something else for example files and it works as expected.
I believe that this is expected behavior in that the file variable should not be declared in more than one place but I would have expected an unsafe rego error.
The text was updated successfully, but these errors were encountered:
This is the policy that I'm evaluating. I accidentally duplicated a variable and then ran a partial evaluation on the rule. As a result, I got a stack overflow error. Here is my policy
with the following input
When I run this command
I get the stack overflow
To fix this I modified either the
some file
variable or thefile = data.file
to be something else for examplefiles
and it works as expected.I believe that this is expected behavior in that the file variable should not be declared in more than one place but I would have expected an unsafe rego error.
The text was updated successfully, but these errors were encountered: