aboutsummaryrefslogtreecommitdiff
path: root/test/dotc/tests.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2016-01-29 23:46:00 +0100
committerMartin Odersky <odersky@gmail.com>2016-02-09 09:40:52 +0100
commit41f056750990a2e6391eec3436077715041d2b8a (patch)
treeede383d5ec756b7a391e747eac472a1dc8f77755 /test/dotc/tests.scala
parent633e2ebfd42af65f8324aec87a2444bb9cec5eff (diff)
downloaddotty-41f056750990a2e6391eec3436077715041d2b8a.tar.gz
dotty-41f056750990a2e6391eec3436077715041d2b8a.tar.bz2
dotty-41f056750990a2e6391eec3436077715041d2b8a.zip
Use isRealizable to identify stable prefixes
Replaces isVolatile, which is too weak (and more complicated). Backwards compatibility with Scala2 is ensured by dropping the requirement in Scala2 mode. Fixes #1047, which now compiles without inifinite recursion.
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 549dc582c..13010323e 100644
--- a/test/dotc/tests.scala
+++ b/test/dotc/tests.scala
@@ -146,7 +146,7 @@ class tests extends CompilerTest {
@Test def neg_typetest = compileFile(negDir, "typetest", xerrors = 1)
@Test def neg_t1569_failedAvoid = compileFile(negDir, "t1569-failedAvoid", xerrors = 1)
@Test def neg_clashes = compileFile(negDir, "clashes", xerrors = 2)
- @Test def neg_cycles = compileFile(negDir, "cycles", xerrors = 8)
+ @Test def neg_cycles = compileFile(negDir, "cycles", xerrors = 9)
@Test def neg_boundspropagation = compileFile(negDir, "boundspropagation", xerrors = 5)
@Test def neg_refinedSubtyping = compileFile(negDir, "refinedSubtyping", xerrors = 2)
@Test def neg_hklower = compileFile(negDir, "hklower", xerrors = 3)