aboutsummaryrefslogtreecommitdiff
path: root/test/dotc/tests.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-03-19 10:33:55 +0100
committerTobias Schlatter <tobias@meisch.ch>2014-03-21 11:28:30 +0100
commit7e51434b89659c49a1cd755c224cc5ca270b82b3 (patch)
tree5cc0aa0c4d7005c720fda5238cffc2bcd760e3d6 /test/dotc/tests.scala
parentc854cc7fcc9d0f889c6235c1534133cff7360e7f (diff)
downloaddotty-7e51434b89659c49a1cd755c224cc5ca270b82b3.tar.gz
dotty-7e51434b89659c49a1cd755c224cc5ca270b82b3.tar.bz2
dotty-7e51434b89659c49a1cd755c224cc5ca270b82b3.zip
Fix for t1292 - legal prefixes
The original test is now in error because the type Meta in the prefix Meta#Event is not stable and contains an abstract member Slog. Even after removing Slog, the test in pos was still in error because the bound type parameters were incorrectly recognized as abstract members. This has been fixed by the changes to Types.
Diffstat (limited to 'test/dotc/tests.scala')
-rw-r--r--test/dotc/tests.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala
index ee05dd15c..4b52b93c2 100644
--- a/test/dotc/tests.scala
+++ b/test/dotc/tests.scala
@@ -63,6 +63,7 @@ class tests extends CompilerTest {
@Test def neg_autoTupling = compileFile(posDir, "autoTuplingTest", "-language:noAutoTupling" :: Nil, xerrors = 3)
@Test def neg_autoTupling2 = compileFile(negDir, "autoTuplingTest", xerrors = 3)
@Test def neg_t0654_polyalias = compileFile(negDir, "t0654", xerrors = 2)
+ @Test def neg_t1192_legalPrefix = compileFile(negDir, "t1192", xerrors = 1)
@Test def dotc = compileDir(dotcDir + "tools/dotc", twice)
@Test def dotc_ast = compileDir(dotcDir + "tools/dotc/ast", twice)