Var, Call and other constructs in default rule #338
-
I'm trying to understand which constructs are supported in a The following errors out
However, constructs work if enclosed within a comprehension in the default rule's value:
Is there a design rationale as to why the constructs are supported when enclosed within a comprehension? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @anakrish 👋 That's an interesting observation! I would believe that to be a bug. Trying your example I had no problems depending on |
Beta Was this translation helpful? Give feedback.
Hi @anakrish 👋 That's an interesting observation! I would believe that to be a bug. Trying your example I had no problems depending on
input
,data
and built-in functions inside of the comprehension, creating non-deterministic default values. I don't think that should ever work. I'll create an issue.