wasm build rego_type_error: undefined ref
#305
Answered
by
srenatus
shm12
asked this question in
OPA and Rego
-
Hi all. I'm facing strange behavior. package play
allow {
b := foo("bar")
b == true
}
bar(val) = value {
value = true
}
foo(val) = value {
value = bar(val)
} Now, if I run it, or build it -
Is it a bug, or is something wrong with the Rego code? If It's only one function, like: package play
allow {
b := bar("bar")
b == true
}
bar(val) = value {
value = true
} I don't get this error. Only where a function calls another function. |
Beta Was this translation helpful? Give feedback.
Answered by
srenatus
Nov 8, 2022
Replies: 1 comment 1 reply
-
Can you try the command line argument mentioned in open-policy-agent/opa#4411? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
shm12
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you try the command line argument mentioned in open-policy-agent/opa#4411?