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 was reported in Regal, but my brief investigation suggests that the issue originates in OPA. Regal expects each part of a ref to include a location. However, a policy like this:
package p
import rego.v1
a.b if true
a.b :=true
Transforms to an AST where the first a.b has no ref locations, and the second a.b does.
This issue has been automatically marked as inactive because it has not had any activity in the last 30 days. Although currently inactive, the issue could still be considered and actively worked on in the future. More details about the use-case this issue attempts to address, the value provided by completing it or possible solutions to resolve it would help to prioritize the issue.
This was reported in Regal, but my brief investigation suggests that the issue originates in OPA. Regal expects each part of a ref to include a
location
. However, a policy like this:Transforms to an AST where the first
a.b
has no ref locations, and the seconda.b
does.rule.head.ref "a.b if true"
rule.head.ref "a.b := true"
I believe this inconsistency is a bug.
The text was updated successfully, but these errors were encountered: