mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
anonymous type methods: remove too much intelligence (IDEA-130498)
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
class Example {
|
||||
public static void main(String[] args) {
|
||||
final Runnable r = new Runnable() {
|
||||
public void run() {}
|
||||
public void m2() {}
|
||||
};
|
||||
r.<error descr="Cannot resolve method 'm2()'">m2</error>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user