diff options
author | Martin Odersky <odersky@gmail.com> | 2014-03-16 15:27:50 +0100 |
---|---|---|
committer | Tobias Schlatter <tobias@meisch.ch> | 2014-03-21 11:24:03 +0100 |
commit | bb90b26fbca27f432ade46ae572b82e1b8027b19 (patch) | |
tree | 20da120bf3790ab18a9b6d8c02e44e682418db1c /test | |
parent | a7d47ab54cbfb324dec4ee1594e24738cd54113a (diff) | |
download | dotty-bb90b26fbca27f432ade46ae572b82e1b8027b19.tar.gz dotty-bb90b26fbca27f432ade46ae572b82e1b8027b19.tar.bz2 dotty-bb90b26fbca27f432ade46ae572b82e1b8027b19.zip |
Tests t01xx and t02xx
Test t0288 moved to disabled due to lack of Java interop.
Test t0273 fixed by relaxing double def condition: We only regard two
definitions that define the same name and have exactly the same signature
as double definitions. Previously, signatures that defined the same parameters
were also excluded.
Diffstat (limited to 'test')
-rw-r--r-- | test/dotc/tests.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala index 1ddd0a578..15d7432ab 100644 --- a/test/dotc/tests.scala +++ b/test/dotc/tests.scala @@ -47,13 +47,13 @@ class tests extends CompilerTest { @Test def pos_approximateUnion = compileFile(posDir, "approximateUnion", twice) */ @Test def pos_all = compileFiles(posDir, twice) - @Test def pos_new = compileFiles(newDir, "-Xprompt" :: Nil) + @Test def new_all = compileFiles(newDir, twice) @Test def neg_blockescapes() = compileFile(negDir, "blockescapesNeg", xerrors = 1) @Test def neg_typedapply() = compileFile(negDir, "typedapply", xerrors = 4) @Test def neg_typedidents() = compileFile(negDir, "typedIdents", xerrors = 2) @Test def neg_assignments() = compileFile(negDir, "assignments", xerrors = 3) - @Test def neg_typers() = compileFile(negDir, "typers", xerrors = 10) + @Test def neg_typers() = compileFile(negDir, "typers", xerrors = 6) @Test def neg_privates() = compileFile(negDir, "privates", xerrors = 2) @Test def neg_rootImports = compileFile(negDir, "rootImplicits", xerrors = 2) @Test def neg_templateParents() = compileFile(negDir, "templateParents", xerrors = 3) |