method ref: type parameter instantiation (IDEA-154645)

This commit is contained in:
Anna.Kozlova
2016-04-13 12:30:54 +02:00
parent 5beacf0b13
commit 9086115347
3 changed files with 15 additions and 1 deletions
@@ -0,0 +1,8 @@
import java.util.function.Supplier;
class Test<T> {
{
Supplier<T> aNew = T::<error descr="Cannot resolve constructor 'T'">new</error>;
}
}