SIP-24 - Repeated By Name Parameters - Scala Documentation


#1

By: Martin Odersky

Scala so far does not allow by-name repeated parameters. But I can’t see a good reason why this combination should be disallowed. Also, the combination is necessary to allow vararg parameters that are passed as expressions to inline methods (instead of being lifted out).


This is a companion discussion topic for the original entry at http://docs.scala-lang.org//sips/pending/repeated-byname.html.html