mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
move instance method processor: expand method reference to lambda when needed
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
class Bar {
|
||||
|
||||
}
|
||||
|
||||
class Bar1 {
|
||||
|
||||
void m(Bar b) {
|
||||
Bar3 r = (i, b1) -> b1.foo(i);
|
||||
}
|
||||
|
||||
void foo(int i) {
|
||||
}
|
||||
}
|
||||
|
||||
interface Bar3 {
|
||||
void m(int i, Bar1 v);
|
||||
}
|
||||
Reference in New Issue
Block a user