SIP-NN - Right-Associative By-Name Operators - Scala Documentation


By: Stefan Zeiger

Scala allows the definition of right-associative by-name operators but the desugaring, as currently defined, forces the arguments, thus effectively making them by-value. This has been recognized as a bug since 2009.

This is a companion discussion topic for the original entry at