You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You ran into two paper-cuts here, both of which we're currently working on :) Hopefully the next release of the syntax spec (0.5) will solve both of them!
First, it's currently required to indent all of the message's body, including the closing brace } on the last line of your example. This will be fixed by #42.
#63 has a recommendation on how to explicitly define empty-string values: {""}. It a placeable with an empty string inside. Consider the following snippet:
test =
{ $num ->
[0] {""}
*[other] No empty text
}
You can see it live in the Playground (use the Config tab to change the value of $num).
Hello!
I am just trying to do this:
but it gets an error:
How can an empty string be returned?
The text was updated successfully, but these errors were encountered: