diff options
author | Martin Odersky <odersky@gmail.com> | 2013-11-04 11:30:14 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-11-04 11:32:12 +0100 |
commit | bfc7c25bda04697463a36b9eb278e00407895a53 (patch) | |
tree | 92f8bc49bd59bf98d604fb29b8d98c04588173e7 /src/dotty/tools/dotc/core/Definitions.scala | |
parent | ab95d83444c6397f8859713dd6606602c77c8d23 (diff) | |
download | dotty-bfc7c25bda04697463a36b9eb278e00407895a53.tar.gz dotty-bfc7c25bda04697463a36b9eb278e00407895a53.tar.bz2 dotty-bfc7c25bda04697463a36b9eb278e00407895a53.zip |
Fallback to old treatement of tuples.
For interoperability we will keep for the time being the traditional treatment of tuples as instances of Tuple 2… Tuple 22. The new hlist-like treatment will be done in a future step. The flip is controlled by variable "unboxedPairs".
Diffstat (limited to 'src/dotty/tools/dotc/core/Definitions.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/Definitions.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Definitions.scala b/src/dotty/tools/dotc/core/Definitions.scala index 8731193f6..96fe172b3 100644 --- a/src/dotty/tools/dotc/core/Definitions.scala +++ b/src/dotty/tools/dotc/core/Definitions.scala @@ -197,7 +197,7 @@ class Definitions(implicit ctx: Context) { lazy val StringAdd_+ = StringAddClass.requiredMethod(nme.raw.PLUS) - lazy val PairClass = requiredClass("dotty.Tuple2") + lazy val PairClass = requiredClass("dotty.Pair") lazy val PartialFunctionClass = requiredClass("scala.PartialFunction") lazy val AbstractPartialFunctionClass = requiredClass("scala.runtime.AbstractPartialFunction") lazy val SymbolClass = requiredClass("scala.Symbol") |