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

Errors in parameters not propagated correctly #301

Closed
anakrish opened this issue Aug 22, 2024 · 0 comments · Fixed by #308
Closed

Errors in parameters not propagated correctly #301

anakrish opened this issue Aug 22, 2024 · 0 comments · Fixed by #308
Labels
bug Something isn't working

Comments

@anakrish
Copy link
Collaborator

In the following, when evaluating data.test.foo, the error raised by evaluation of bar is ignored. Instead, the error manifests differently (incorrect number of arguments passed to count).

        package test
        import rego.v1

        bar := 1 if {
          1 + "hello"
        }
        foo := 1 if {
          count(bar)
        }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant