mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
testdata for IDEA-67671
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
interface A
|
||||
{
|
||||
<S extends Collection<?> & List<?>> void foo(S x);
|
||||
}
|
||||
|
||||
<error descr="Class 'B' must either be declared abstract or implement abstract method 'foo(S)' in 'A'">class B implements A</error>
|
||||
{
|
||||
public void foo(Collection<?> x) { }
|
||||
public <S extends List<?> & Collection<?>> void foo(S x) { }
|
||||
}
|
||||
+1
@@ -171,6 +171,7 @@ public class LightAdvHighlightingJdk7Test extends LightDaemonAnalyzerTestCase {
|
||||
public void testAmbiguousMethodCallIDEA97983() { doTest(false, false); }
|
||||
public void testAmbiguousMethodCallIDEA100314() { doTest(false, false); }
|
||||
public void testAmbiguousMethodCallIDEA67668() { doTest(false, false); }
|
||||
public void testAmbiguousMethodCallIDEA67671() { doTest(false, false); }
|
||||
public void testInstanceMemberNotAccessibleInStaticContext() { doTest(false, false); }
|
||||
public void testRejectedTypeParamsForConstructor() { doTest(false, false); }
|
||||
public void testAnnotationArgs() throws Exception { doTest(false, false);}
|
||||
|
||||
Reference in New Issue
Block a user