make static: allow to delegate (IDEA-24060)

This commit is contained in:
Anna Kozlova
2014-12-23 19:32:30 +01:00
parent f99580f6a5
commit 607d4e4f79
9 changed files with 125 additions and 11 deletions
@@ -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();
}
}