mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
NPE
This commit is contained in:
+13
@@ -20,3 +20,16 @@ class Test {
|
||||
<T> void foo(T t1, I<T> t3) {}
|
||||
|
||||
}
|
||||
|
||||
class Test2 {
|
||||
|
||||
interface F {
|
||||
<X> <error descr="Invalid method declaration; return type required">m</error>();
|
||||
}
|
||||
|
||||
void g() {}
|
||||
|
||||
{
|
||||
F f = this::g;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user