From 1744f79cf9fe5b1a44532115726ea88a8e7a979a Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Thu, 28 Jul 2016 11:42:28 +0200 Subject: Add Function25 on top of #1413. --- src/dotty/tools/dotc/core/Definitions.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dotty/tools') diff --git a/src/dotty/tools/dotc/core/Definitions.scala b/src/dotty/tools/dotc/core/Definitions.scala index 5a19903be..cb83fda04 100644 --- a/src/dotty/tools/dotc/core/Definitions.scala +++ b/src/dotty/tools/dotc/core/Definitions.scala @@ -13,8 +13,8 @@ import scala.reflect.api.{ Universe => ApiUniverse } object Definitions { val MaxTupleArity, MaxAbstractFunctionArity = 22 - val MaxFunctionArity = 24 - // Awaiting a definite solution that drops the limit altogether, 24 gives a safety + val MaxFunctionArity = 30 + // Awaiting a definite solution that drops the limit altogether, 30 gives a safety // margin over the previous 22, so that treecopiers in miniphases are allowed to // temporarily create larger closures. This is needed in lambda lift where large closures // are first formed by treecopiers before they are split apart into parameters and -- cgit v1.2.3