mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 08:09:39 +07:00
testdata: ensure method ref qualified are checked over static problems
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
public class Test {
|
||||
interface I {
|
||||
void foo();
|
||||
}
|
||||
|
||||
private Object o;
|
||||
|
||||
public static void main(String[] args){
|
||||
I i = <error descr="Non-static field 'o' cannot be referenced from a static context">o</error>::wait;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user