Skip to content
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

add support for multiple vararg parameters ... #32

Open
soc opened this issue Sep 9, 2022 · 0 comments
Open

add support for multiple vararg parameters ... #32

soc opened this issue Sep 9, 2022 · 0 comments
Labels
enhancement improving existing functionality feature adding a new feature language-core changes to the Core language (syntax, semantics, ...) typer anything related to the typechecker and the typesystem

Comments

@soc
Copy link
Collaborator

soc commented Sep 9, 2022

... that use named arguments for invocation:

impl Map {
  @static fun of[K, V](keys: K*, vals: V*): Map[K, V] = ...
}

Map.of(
  keys = "Paris", "Rome", "Madrid",
  vals = "France", "Italy", "Spain")
@soc soc added this to the 1.0 – polishing milestone Sep 9, 2022
@soc soc added enhancement improving existing functionality feature adding a new feature language-core changes to the Core language (syntax, semantics, ...) typer anything related to the typechecker and the typesystem labels Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement improving existing functionality feature adding a new feature language-core changes to the Core language (syntax, semantics, ...) typer anything related to the typechecker and the typesystem
Projects
None yet
Development

No branches or pull requests

1 participant