noAutoTupling

scala.runtime.stdLibPatches.language$.noAutoTupling$
object noAutoTupling

Where imported, auto-tupling is disabled.

'''Why control the feature?''' Auto-tupling can lead to confusing and brittle code in presence of overloads. In particular, surprising overloads can be selected, and adding new overloads can change which overload is selected in suprising ways.

'''Why allow it?''' Not allowing auto-tupling is difficult to reconcile with operators accepting tuples.

Attributes

Source
language.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
In this article