mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
make static: allow to delegate (IDEA-24060)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
class C {
|
||||
int i;
|
||||
|
||||
private void foo() {
|
||||
foo(i);
|
||||
}
|
||||
|
||||
private static void foo(int i) {
|
||||
if (true) {
|
||||
foo(i);
|
||||
}
|
||||
System.out.println(i);
|
||||
}
|
||||
|
||||
{
|
||||
foo();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user