Skip to content

Commit d7f6e37

Browse files
committed
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.
1 parent 651b8dd commit d7f6e37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/dotc/tests.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class tests extends CompilerTest {
8888
@Test def neg_typedapply() = compileFile(negDir, "typedapply", xerrors = 4)
8989
@Test def neg_typedidents() = compileFile(negDir, "typedIdents", xerrors = 2)
9090
@Test def neg_assignments() = compileFile(negDir, "assignments", xerrors = 3)
91-
@Test def neg_typers() = compileFile(negDir, "typers", xerrors = 12)
91+
@Test def neg_typers() = compileFile(negDir, "typers", xerrors = 12)(allowDoubleBindings)
9292
@Test def neg_privates() = compileFile(negDir, "privates", xerrors = 2)
9393
@Test def neg_rootImports = compileFile(negDir, "rootImplicits", xerrors = 2)
9494
@Test def neg_templateParents() = compileFile(negDir, "templateParents", xerrors = 3)

0 commit comments

Comments
 (0)