aboutsummaryrefslogtreecommitdiff
path: root/test/dotc/tests.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-04-09 14:01:03 +0200
committerMartin Odersky <odersky@gmail.com>2015-04-09 14:01:03 +0200
commitd7f6e377899c2450c0919332e184efad9593d8f8 (patch)
tree176d36f4df8b4e3b62057054ab968ca24ee829cb /test/dotc/tests.scala
parent651b8ddbf518327c059ee053acf586a35903c87f (diff)
downloaddotty-d7f6e377899c2450c0919332e184efad9593d8f8.tar.gz
dotty-d7f6e377899c2450c0919332e184efad9593d8f8.tar.bz2
dotty-d7f6e377899c2450c0919332e184efad9593d8f8.zip
Disabled -Yno-double-bindings for a neg test.
The test introduced a double definition, which led to a double binding. With -Yno-double-bindings this cauases an assertion violation instead of a reported error.
Diffstat (limited to 'test/dotc/tests.scala')
-rw-r--r--test/dotc/tests.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala
index 095c5053b..c36552536 100644
--- a/test/dotc/tests.scala
+++ b/test/dotc/tests.scala
@@ -88,7 +88,7 @@ class tests extends CompilerTest {
@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 = 12)
+ @Test def neg_typers() = compileFile(negDir, "typers", xerrors = 12)(allowDoubleBindings)
@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)