diff options
author | Igor Mielientiev <igor.melent@gmail.com> | 2017-03-22 16:24:15 +0200 |
---|---|---|
committer | Felix Mulder <felix.mulder@gmail.com> | 2017-03-22 15:24:15 +0100 |
commit | 5fd7a9503e44b8e95c0ca5aa4366270a3cd90155 (patch) | |
tree | 3c2f26df17a935c89f8a0238501419c30ed6f793 /compiler/test/dotc/tests.scala | |
parent | 3af0ebbde81ff6429175ff1661f4ba927dc0d295 (diff) | |
download | dotty-5fd7a9503e44b8e95c0ca5aa4366270a3cd90155.tar.gz dotty-5fd7a9503e44b8e95c0ca5aa4366270a3cd90155.tar.bz2 dotty-5fd7a9503e44b8e95c0ca5aa4366270a3cd90155.zip |
Fix varargs in methods and constructors (#2135)
* Fix varargs in methods (Issue: #1625)
* Fix minor comments
* Change varargs parameter message
* Fix failed test, fix case for constructor
Diffstat (limited to 'compiler/test/dotc/tests.scala')
-rw-r--r-- | compiler/test/dotc/tests.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/test/dotc/tests.scala b/compiler/test/dotc/tests.scala index 01db2d9cc..3ebf7f2c4 100644 --- a/compiler/test/dotc/tests.scala +++ b/compiler/test/dotc/tests.scala @@ -153,6 +153,7 @@ class tests extends CompilerTest { @Test def pos_anonClassSubtyping = compileFile(posDir, "anonClassSubtyping", twice) @Test def pos_extmethods = compileFile(posDir, "extmethods", twice) @Test def pos_companions = compileFile(posDir, "companions", twice) + @Test def posVarargsT1625 = compileFiles(posDir + "varargsInMethodsT1625/") @Test def pos_all = compileFiles(posDir) // twice omitted to make tests run faster @@ -177,6 +178,8 @@ class tests extends CompilerTest { @Test def neg_all = compileFiles(negDir, verbose = true, compileSubDirs = false) @Test def neg_typedIdents() = compileDir(negDir, "typedIdents") + @Test def negVarargsT1625 = compileFiles(negDir + "varargsInMethodsT1625/") + val negCustomArgs = negDir + "customArgs/" @Test def neg_typers() = compileFile(negCustomArgs, "typers")(allowDoubleBindings) |