-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[lang][grammar] Support varargs parameters in action signatures #1
Comments
According to the current syntax, the varargs may be written as:
|
What do you think about using "*" instead of "...":
|
I prefer "...", but "*" seems to be a good option too. So, we are pat on this decision node. @ngaud should give his oppinion :-) |
Since Scala remains one of our main inspiration in terms of Syntax let's use the scala syntax with * to stay coherent. |
At the moments one can not declare varargs parameters in the signature of actions (used in capacity, agents,etc)
We should be able to declare
def myAction(String... params)
Instead of
def myAction(String[] params)
The text was updated successfully, but these errors were encountered: