mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
varargs formal parameters inaccessible: extend for non-parameterized methods (IDEA-140600)
This commit is contained in:
+12
-1
@@ -10,4 +10,15 @@ class Outer {
|
||||
private static class A {}
|
||||
public static class B extends A {}
|
||||
public static class C extends A {}
|
||||
}
|
||||
}
|
||||
|
||||
class An {
|
||||
private class B {}
|
||||
public static void foo(B... x){}
|
||||
}
|
||||
|
||||
class C {
|
||||
{
|
||||
An.foo<error descr="Formal varargs element type is inaccessible here">()</error>;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user