aboutsummaryrefslogtreecommitdiff
path: root/test/dotc/tests.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-10-31 12:58:01 +0100
committerMartin Odersky <odersky@gmail.com>2016-02-16 15:23:43 +0100
commit29104c9755a9d6393959a416650422b84f0957f2 (patch)
tree19f844e71f9904c19714f4cab8c93fffc97db437 /test/dotc/tests.scala
parent5e8023335e641c9c05c6517a82764571e7ef6386 (diff)
downloaddotty-29104c9755a9d6393959a416650422b84f0957f2.tar.gz
dotty-29104c9755a9d6393959a416650422b84f0957f2.tar.bz2
dotty-29104c9755a9d6393959a416650422b84f0957f2.zip
Auto-uncurry n-ary functions.
Implements SIP #897.
Diffstat (limited to 'test/dotc/tests.scala')
-rw-r--r--test/dotc/tests.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala
index 12b830738..0f6d134a5 100644
--- a/test/dotc/tests.scala
+++ b/test/dotc/tests.scala
@@ -111,6 +111,7 @@ class tests extends CompilerTest {
@Test def neg_abstractOverride() = compileFile(negDir, "abstract-override", xerrors = 2)
@Test def neg_blockescapes() = compileFile(negDir, "blockescapesNeg", xerrors = 1)
@Test def neg_bounds() = compileFile(negDir, "bounds", xerrors = 2)
+ @Test def neg_functionArity() = compileFile(negDir, "function-arity", xerrors = 5)
@Test def neg_typedapply() = compileFile(negDir, "typedapply", xerrors = 3)
@Test def neg_typedIdents() = compileDir(negDir, "typedIdents", xerrors = 2)
@Test def neg_assignments() = compileFile(negDir, "assignments", xerrors = 3)