Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete top-down evaluation implementation #178

Open
anakrish opened this issue Mar 11, 2024 · 0 comments
Open

Complete top-down evaluation implementation #178

anakrish opened this issue Mar 11, 2024 · 0 comments
Labels
enhancement New feature or request feature

Comments

@anakrish
Copy link
Collaborator

anakrish commented Mar 11, 2024

The following does not pass with top-down evaluation:

package test
import future.keywords

p[q].r contains s {  # Rule with prefix and general ref
   x := ["a", "b", "c"]
   q := x[_]
   s := x[_]
   q != s
}
p.b.r contains "foo" # Rule with prefix overlapping with above rule

Query: data.test.p.b

@anakrish anakrish added enhancement New feature or request feature labels May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature
Projects
None yet
Development

No branches or pull requests

1 participant