From 7e51434b89659c49a1cd755c224cc5ca270b82b3 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Wed, 19 Mar 2014 10:33:55 +0100 Subject: 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. --- test/dotc/tests.scala | 1 + 1 file changed, 1 insertion(+) (limited to 'test') 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) -- cgit v1.2.3