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
Previously the compiler was not rewriting expr terms in the rule
args. In particular, this meant that indirect refs were not being
rewritten. This would lead to panics in the safety check which assume
that indirect refs have been rewritten (in other words, that reference
heads are always variables.)
This commit just updates the expr term rewriting to process rule args
as it does for the rule head key and value terms.
Fixesopen-policy-agent#2649
Signed-off-by: Torin Sandall <torinsandall@gmail.com>
This was caught by the nightly fuzz testing. To reproduce:
The problem seems to be that these references are not being rewritten.
The text was updated successfully, but these errors were encountered: