mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-21 14:37:45 +07:00
EA-87016 - assert: PsiParameterListImpl.getParameterIndex
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
class Test {
|
||||
class <caret>A implements Runnable {
|
||||
public A(int[] args) {
|
||||
|
||||
for (int arg : args) {
|
||||
System.out.println(arg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
abstract class U {
|
||||
{
|
||||
A a = new A(new int[8]);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
class Test {
|
||||
|
||||
abstract class U {
|
||||
{
|
||||
final int[] args = new int[8];
|
||||
Runnable a = new Runnable() {
|
||||
{
|
||||
for (int arg : args) {
|
||||
System.out.println(arg);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user