aboutsummaryrefslogtreecommitdiff
path: root/test/dotc/tests.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-09-29 17:29:53 +0200
committerMartin Odersky <odersky@gmail.com>2015-09-29 19:18:53 +0200
commit9c8e247d8900f3fb6f497bc5e269b68f6bc967b7 (patch)
tree1d95772bcf702e407b018eccec7913d7b6563a79 /test/dotc/tests.scala
parent7d3a0064aba0cfe74f7eea7bb43b913cd2c224c7 (diff)
downloaddotty-9c8e247d8900f3fb6f497bc5e269b68f6bc967b7.tar.gz
dotty-9c8e247d8900f3fb6f497bc5e269b68f6bc967b7.tar.bz2
dotty-9c8e247d8900f3fb6f497bc5e269b68f6bc967b7.zip
Matching denotations should take infos into account
Whenchecking whether two denotations match it is not enough to look at the signatures. The signatures might match (on the parameters) but the actual parametre types might be different. The change always tests infos after signatures, effectively turning the signature test into a pre-filter.
Diffstat (limited to 'test/dotc/tests.scala')
-rw-r--r--test/dotc/tests.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala
index 403a99a19..2b5b86be1 100644
--- a/test/dotc/tests.scala
+++ b/test/dotc/tests.scala
@@ -104,7 +104,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)(allowDoubleBindings)
+ @Test def neg_typers() = compileFile(negDir, "typers", xerrors = 10)(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)
@@ -115,7 +115,6 @@ class tests extends CompilerTest {
@Test def neg_overrides = compileFile(negDir, "overrides", xerrors = 11)
@Test def neg_i39 = compileFile(negDir, "i39", xerrors = 2)
@Test def neg_i50_volatile = compileFile(negDir, "i50-volatile", xerrors = 6)
- @Test def neg_t0273_doubledefs = compileFile(negDir, "t0273", xerrors = 1)
@Test def neg_zoo = compileFile(negDir, "zoo", xerrors = 12)
val negTailcallDir = negDir + "tailcall/"