mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
method ref: type parameter instantiation (IDEA-154645)
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
|
||||
import java.util.function.Supplier;
|
||||
|
||||
class Test<T> {
|
||||
{
|
||||
Supplier<T> aNew = T::<error descr="Cannot resolve constructor 'T'">new</error>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user