File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed
compiler/src/dotty/tools/dotc/core Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ object Definitions {
20
20
21
21
/** The maximum arity N of a function type that's implemented
22
22
* as a trait `scala.FunctionN`. Functions of higher arity are possible,
23
- * but are mapped to functions taking a vararg by erasure.
23
+ * but are mapped in erasure to functions taking a single parameter of type
24
+ * Object[].
24
25
* The limit 22 is chosen for Scala2x interop. It could be something
25
26
* else without affecting the set of programs that can be compiled.
26
27
*/
Original file line number Diff line number Diff line change
1
+ /* __ *\
2
+ ** ________ ___ / / ___ Scala API **
3
+ ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL **
4
+ ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
5
+ ** /____/\___/_/ |_/____/_/ | | **
6
+ ** |/ **
7
+ \* */
8
+ // GENERATED CODE: DO NOT EDIT. See scala.Function0 for timestamp.
9
+ package scala
10
+
11
+ /** A function with all parameters grouped in an array. */
12
+ trait FunctionXXL {
13
+
14
+ def apply (xs : Array [Object ]): Object
15
+
16
+ override def toString () = " <functionXXL>"
17
+ }
You can’t perform that action at this time.
0 commit comments