diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2014-10-20 11:19:50 +0200 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2014-11-06 22:08:28 +0100 |
commit | 3d6534f1d3f1abe5ec9c27a7d0452142ae7d3d86 (patch) | |
tree | 016cc48187474714964bae081072fa485c423aaf /test/dotc/tests.scala | |
parent | 8c73426c1db5e867febf9abf565de4201f78d628 (diff) | |
download | dotty-3d6534f1d3f1abe5ec9c27a7d0452142ae7d3d86.tar.gz dotty-3d6534f1d3f1abe5ec9c27a7d0452142ae7d3d86.tar.bz2 dotty-3d6534f1d3f1abe5ec9c27a7d0452142ae7d3d86.zip |
Detect cycles involving types bounded by singleton types
This fixes #193.
Diffstat (limited to 'test/dotc/tests.scala')
-rw-r--r-- | test/dotc/tests.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala index 71a1600bb..37cbb16b3 100644 --- a/test/dotc/tests.scala +++ b/test/dotc/tests.scala @@ -100,6 +100,8 @@ class tests extends CompilerTest { @Test def neg_badAuxConstr = compileFile(negDir, "badAuxConstr", xerrors = 2) @Test def neg_typetest = compileFile(negDir, "typetest", xerrors = 1) @Test def neg_t1569_failedAvoid = compileFile(negDir, "t1569-failedAvoid", xerrors = 1) + @Test def neg_cycles = compileFile(negDir, "cycles", xerrors = 6) + @Test def dotc = compileDir(dotcDir + "tools/dotc", twice)(allowDeepSubtypes) @Test def dotc_ast = compileDir(dotcDir + "tools/dotc/ast", twice) @Test def dotc_config = compileDir(dotcDir + "tools/dotc/config", twice) |