aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Definitions.scala
diff options
context:
space:
mode:
authorNicolas Stucki <nicolas.stucki@gmail.com>2016-07-28 11:42:28 +0200
committerNicolas Stucki <nicolas.stucki@gmail.com>2016-07-28 13:29:30 +0200
commit1744f79cf9fe5b1a44532115726ea88a8e7a979a (patch)
tree702df2bf9e49e97f2a7ed9428193af324e9019b1 /src/dotty/tools/dotc/core/Definitions.scala
parent79e0fe02708a115140f53678499c423c773123c4 (diff)
downloaddotty-1744f79cf9fe5b1a44532115726ea88a8e7a979a.tar.gz
dotty-1744f79cf9fe5b1a44532115726ea88a8e7a979a.tar.bz2
dotty-1744f79cf9fe5b1a44532115726ea88a8e7a979a.zip
Add Function25 on top of #1413.
Diffstat (limited to 'src/dotty/tools/dotc/core/Definitions.scala')
-rw-r--r--src/dotty/tools/dotc/core/Definitions.scala4
1 files changed, 2 insertions, 2 deletions
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