mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
anonymous -> method ref: collapse receiver method references to raw receiver (IDEA-153261)
This commit is contained in:
@@ -16,7 +16,7 @@ class Box<T>
|
||||
}
|
||||
|
||||
{
|
||||
foo(Box<String>::getValue);
|
||||
foo((Function<Box<String>, String>) Box::getValue);
|
||||
}
|
||||
|
||||
<K> void foo(Function<Box<K>, K> f){}
|
||||
|
||||
Reference in New Issue
Block a user