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

topdown: move arg count below ir.Empty() #3502

Merged

Conversation

srenatus
Copy link
Contributor

...to avoid a panic at run time.

Fixes #3501.

...to avoid a panic at run time.

Fixes open-policy-agent#3501.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
Copy link
Contributor

@andrehaland andrehaland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@srenatus srenatus merged commit 0a6bf53 into open-policy-agent:main May 28, 2021
@srenatus srenatus deleted the sr/issue-3501/func-input-var-ignored branch May 28, 2021 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OPA 0.29.1 panics when assigning non-existent input to variable inside function
2 participants