add support for multiple vararg parameters ... #32

Open
opened 2022-09-09 23:32:12 +02:00 by soc · 0 comments
Owner

... 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")
... 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") ```
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
core-lang/core#32
No description provided.