Replies: 1 comment
-
Currenly there is no way to do those. As Expr is designed to work with expressions. One "hack" to overcome this, is to return an expression:
Also I think we should add support for statments in Expr as well via a feature flag. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I am playing with expr and my use case is multi-line re-use expr scripts, am trying to do that like so:
I've tried variations of
println(foo)
, no;
, etc. But it seems like I can only execute one func at a time?I get either the following errors:
Beta Was this translation helpful? Give feedback.
All reactions