mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
inline: don't check containing method call if inline to method reference
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
|
||||
import java.util.function.Supplier;
|
||||
class Foo {
|
||||
|
||||
static int m() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
void o(){
|
||||
mm(Foo::<caret>m);
|
||||
}
|
||||
|
||||
void mm(Supplier<Integer> r) {}
|
||||
}
|
||||
Reference in New Issue
Block a user