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
baz above is undefined because bar.qux is undefined. Presumably this happens because when the compiler resolves the symbol bar it does so with data.bar instead of the local variable bar. So the compiler sees the rule above as:
When resolving vars inside references, the implementation was not
checking the ignore stack. As a result, vars were potentially resolved
to globals when they should not be.
Fixesopen-policy-agent#1155
Signed-off-by: Torin Sandall <[email protected]>
Expected Behavior
A locally-defined dictionary should be able to hide a globally-imported dictionary, e.g.
baz
in the following package should betrue
.Actual Behavior
baz
above is undefined becausebar.qux
is undefined. Presumably this happens because when the compiler resolves the symbolbar
it does so withdata.bar
instead of the local variablebar
. So the compiler sees the rule above as:Steps to Reproduce the Problem
Evaluate the policy above.
The text was updated successfully, but these errors were encountered: