-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Chained function calls fail in WebAssembly build #5590
Comments
Hi Robert! And thanks for yet another great report. I believe this very issue was the original cause for the addition of the It would definitely be an improvement if the error message could hint at that, but I'm not sure if this condition is easy to detect. I believe @johanfylling is working on code and docs close to this topic, so he might be able to tell us more. |
@anderseknert noted! The |
Documentation around when to use, and when not to use, the |
This issue has been automatically marked as inactive because it has not had any activity in the last 30 days. |
Short description
Nested function calls works with
opa eval
but fails withopa build -t wasm
Output from opa version:
Steps To Reproduce
Save file as
test.rego
Running:
opa eval -d test.rego 'data.test.rule'
works fine, with output:Running
opa build -t wasm test.rego -o /tmp/bundle.tar.gz
fails, with outputExpected behavior
wasm build should work
The text was updated successfully, but these errors were encountered: