aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/core
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2016-11-30 14:44:42 +0100
committerMartin Odersky <odersky@gmail.com>2016-11-30 14:44:49 +0100
commit636608afacf943d8b3c05074a6f4de4ca40a4688 (patch)
tree2d5386b357a3ce4d6e8f65d938862061cdf15bf9 /compiler/src/dotty/tools/dotc/core
parentb94e6ea5a54d38470e5793c0084785e2d2f9a819 (diff)
downloaddotty-636608afacf943d8b3c05074a6f4de4ca40a4688.tar.gz
dotty-636608afacf943d8b3c05074a6f4de4ca40a4688.tar.bz2
dotty-636608afacf943d8b3c05074a6f4de4ca40a4688.zip
Add missing file
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core')
-rw-r--r--compiler/src/dotty/tools/dotc/core/Definitions.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/Definitions.scala b/compiler/src/dotty/tools/dotc/core/Definitions.scala
index 29b7bb60a..09485918f 100644
--- a/compiler/src/dotty/tools/dotc/core/Definitions.scala
+++ b/compiler/src/dotty/tools/dotc/core/Definitions.scala
@@ -20,7 +20,8 @@ object Definitions {
/** The maximum arity N of a function type that's implemented
* as a trait `scala.FunctionN`. Functions of higher arity are possible,
- * but are mapped to functions taking a vararg by erasure.
+ * but are mapped in erasure to functions taking a single parameter of type
+ * Object[].
* The limit 22 is chosen for Scala2x interop. It could be something
* else without affecting the set of programs that can be compiled.
*/