aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Definitions.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-03-07 11:05:02 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2014-03-20 13:02:40 +0100
commit7a04b119c9744262bd46c1795b811f56df9516a6 (patch)
treefb98dc39eff900b0dd1af4106ae84910c75fc417 /src/dotty/tools/dotc/core/Definitions.scala
parent574a148fd561a793ee522c2be18ee02214236d80 (diff)
downloaddotty-7a04b119c9744262bd46c1795b811f56df9516a6.tar.gz
dotty-7a04b119c9744262bd46c1795b811f56df9516a6.tar.bz2
dotty-7a04b119c9744262bd46c1795b811f56df9516a6.zip
Removed explicit tuplings from dotc codebase.
Eliminated all "Dotty deviations" which were due to lack of auto-tupling.
Diffstat (limited to 'src/dotty/tools/dotc/core/Definitions.scala')
-rw-r--r--src/dotty/tools/dotc/core/Definitions.scala2
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 bcf2bb74c..22e308062 100644
--- a/src/dotty/tools/dotc/core/Definitions.scala
+++ b/src/dotty/tools/dotc/core/Definitions.scala
@@ -292,7 +292,7 @@ class Definitions {
lazy val targs = ft.argInfos
if ((FunctionClasses contains tsym) &&
(targs.length - 1 <= MaxFunctionArity) &&
- (FunctionClass(targs.length - 1) == tsym)) Some((targs.init, targs.last)) // Dotty deviation: no auto-tupling
+ (FunctionClass(targs.length - 1) == tsym)) Some(targs.init, targs.last)
else None
}
}