more specific method should be chosen before static access is checked (IDEA-101480)

This commit is contained in:
anna
2013-02-21 15:23:11 +01:00
parent e869310a92
commit 985efd2362
4 changed files with 26 additions and 8 deletions
@@ -0,0 +1,11 @@
class Foo {
public void foo() {}
public static void foo(String... s){}
}
class A {
{
Foo.<error descr="Non-static method 'foo()' cannot be referenced from a static context">foo</error>();
}
}