Replies: 1 comment 3 replies
-
Yes, this is "by design". In the explain more, Expr will evaluate both branches. I guess this is not intuitive behavior. I will turn on short-circuting by default in explain. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
expr-lang supports short-circuiting of expressions. Though, the playground seems to be depicting otherwise.
For e.g.,
In both these cases, the
functionCall()
is not invoked actually when tested. But when looked at playground, it seems to Explain in a way that it does.Beta Was this translation helpful? Give feedback.
All reactions