diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-11-27 15:26:57 +0100 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-12-16 13:14:59 +0100 |
commit | 24954cd76ac77d2716ad9b10e48cc357a86d5343 (patch) | |
tree | f5c97690b5e61ec402c40e738ad8373261ca3ee5 /test/dotc | |
parent | 7d470b3e8c09fffd8a5c42e2aa8b22479e087a3a (diff) | |
download | dotty-24954cd76ac77d2716ad9b10e48cc357a86d5343.tar.gz dotty-24954cd76ac77d2716ad9b10e48cc357a86d5343.tar.bz2 dotty-24954cd76ac77d2716ad9b10e48cc357a86d5343.zip |
Erasure is on by default.
Remove historical enabling of erasure for some tests: its enabled by default now
Diffstat (limited to 'test/dotc')
-rw-r--r-- | test/dotc/tests.scala | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala index 14493590b..01f495436 100644 --- a/test/dotc/tests.scala +++ b/test/dotc/tests.scala @@ -19,7 +19,7 @@ class tests extends CompilerTest { ) val twice = List("#runs", "2", "-YnoDoubleBindings") - val doErase = List("-Ystop-before:terminal") + val allowDeepSubtypes = defaultOptions diff List("-Yno-deep-subtypes") val posDir = "./tests/pos/" @@ -29,37 +29,37 @@ class tests extends CompilerTest { val dotcDir = "./src/dotty/" - @Test def pos_t2168_pat = compileFile(posDir, "t2168", doErase) - @Test def pos_erasure = compileFile(posDir, "erasure", doErase) - @Test def pos_Coder() = compileFile(posDir, "Coder", doErase) - @Test def pos_blockescapes() = compileFile(posDir, "blockescapes", doErase) - @Test def pos_collections() = compileFile(posDir, "collections", doErase) - @Test def pos_functions1() = compileFile(posDir, "functions1", doErase) - @Test def pos_implicits1() = compileFile(posDir, "implicits1", doErase) - @Test def pos_inferred() = compileFile(posDir, "inferred", doErase) + @Test def pos_t2168_pat = compileFile(posDir, "t2168") + @Test def pos_erasure = compileFile(posDir, "erasure") + @Test def pos_Coder() = compileFile(posDir, "Coder") + @Test def pos_blockescapes() = compileFile(posDir, "blockescapes") + @Test def pos_collections() = compileFile(posDir, "collections") + @Test def pos_functions1() = compileFile(posDir, "functions1") + @Test def pos_implicits1() = compileFile(posDir, "implicits1") + @Test def pos_inferred() = compileFile(posDir, "inferred") @Test def pos_Patterns() = compileFile(posDir, "Patterns") - @Test def pos_selftypes() = compileFile(posDir, "selftypes", doErase) - @Test def pos_varargs() = compileFile(posDir, "varargs", doErase) - @Test def pos_vararg_patterns() = compileFile(posDir, "vararg-pattern", doErase) - @Test def pos_opassign() = compileFile(posDir, "opassign", doErase) - @Test def pos_typedapply() = compileFile(posDir, "typedapply", doErase) - @Test def pos_nameddefaults() = compileFile(posDir, "nameddefaults", doErase) - @Test def pos_desugar() = compileFile(posDir, "desugar", doErase) - @Test def pos_sigs() = compileFile(posDir, "sigs", doErase) - @Test def pos_typers() = compileFile(posDir, "typers", doErase) - @Test def pos_typedidents() = compileFile(posDir, "typedIdents", doErase) - @Test def pos_assignments() = compileFile(posDir, "assignments", doErase) - @Test def pos_packageobject() = compileFile(posDir, "packageobject", doErase) - @Test def pos_overloaded() = compileFile(posDir, "overloaded", doErase) - @Test def pos_overrides() = compileFile(posDir, "overrides", doErase) - @Test def pos_templateParents() = compileFile(posDir, "templateParents", doErase) - @Test def pos_structural() = compileFile(posDir, "structural", doErase) - @Test def pos_overloadedAccess = compileFile(posDir, "overloadedAccess", doErase) - @Test def pos_approximateUnion = compileFile(posDir, "approximateUnion", doErase) - @Test def pos_tailcall = compileDir(posDir + "tailcall/", doErase) + @Test def pos_selftypes() = compileFile(posDir, "selftypes") + @Test def pos_varargs() = compileFile(posDir, "varargs") + @Test def pos_vararg_patterns() = compileFile(posDir, "vararg-pattern") + @Test def pos_opassign() = compileFile(posDir, "opassign") + @Test def pos_typedapply() = compileFile(posDir, "typedapply") + @Test def pos_nameddefaults() = compileFile(posDir, "nameddefaults") + @Test def pos_desugar() = compileFile(posDir, "desugar") + @Test def pos_sigs() = compileFile(posDir, "sigs") + @Test def pos_typers() = compileFile(posDir, "typers") + @Test def pos_typedidents() = compileFile(posDir, "typedIdents") + @Test def pos_assignments() = compileFile(posDir, "assignments") + @Test def pos_packageobject() = compileFile(posDir, "packageobject") + @Test def pos_overloaded() = compileFile(posDir, "overloaded") + @Test def pos_overrides() = compileFile(posDir, "overrides") + @Test def pos_templateParents() = compileFile(posDir, "templateParents") + @Test def pos_structural() = compileFile(posDir, "structural") + @Test def pos_overloadedAccess = compileFile(posDir, "overloadedAccess") + @Test def pos_approximateUnion = compileFile(posDir, "approximateUnion") + @Test def pos_tailcall = compileDir(posDir + "tailcall/") @Test def pos_nullarify = compileFile(posDir, "nullarify", "-Ycheck:nullarify" :: doErase) - @Test def pos_subtyping = compileFile(posDir, "subtyping", doErase) - @Test def pos_t2613 = compileFile(posSpecialDir, "t2613", doErase)(allowDeepSubtypes) + @Test def pos_subtyping = compileFile(posDir, "subtyping") + @Test def pos_t2613 = compileFile(posSpecialDir, "t2613")(allowDeepSubtypes) @Test def pos_all = compileFiles(posDir, twice) @Test def new_all = compileFiles(newDir, twice) |