Parameter untupling does not accommodate varargs #17780
som-snytt
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Compiler version
3.1.0
Minimized code
Output
Expectation
Adapt the tuple to my repeated parameter.
Implies #14367
A snag is the spec language that "n > 1". The impedance is
def f[A](as: A*)
becauseA
can be the arbitrary tuple. But that is fine, it just says the adaptation is not needed.Beta Was this translation helpful? Give feedback.
All reactions