Skip to content

Conversation

@andreaTP
Copy link
Collaborator

@andreaTP andreaTP commented Jan 5, 2026

Fix #103

@andreaTP andreaTP requested a review from anderseknert January 5, 2026 16:35
one_arg = x {
x = custom.oneArgBuiltin(input.args[0])
}
one_arg() := custom.oneArgBuiltin(input.args[0])
Copy link
Contributor

Choose a reason for hiding this comment

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

arity-0 functions are rules, and asking for trouble 😅

Let's do

one_arg := custom.oneArgBuiltin(input.args[0])

instead?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done thanks!

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry I meant all of them in this file ;)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

got it, sorry 👍 should be good now

Copy link
Contributor

@srenatus srenatus left a comment

Choose a reason for hiding this comment

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

LGTM just a nitpick re: arity-0 functions

@andreaTP
Copy link
Collaborator Author

andreaTP commented Jan 5, 2026

Thanks a lot for the quick review @srenatus ! Appreciated 🙂

@andreaTP andreaTP merged commit d7f86aa into StyraOSS:main Jan 6, 2026
5 checks passed
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.

update the OPA cli version used in tests

2 participants