mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 17:51:09 +07:00
10 lines
296 B
Java
10 lines
296 B
Java
import java.util.function.IntFunction;
|
|
|
|
class Outer<K> {
|
|
public Outer() { }
|
|
|
|
{
|
|
//wrong number of parameters as well as a wrong expected type
|
|
final IntFunction<Outer[]> aNew = <error descr="Bad return type in method reference: cannot convert Outer to Outer[]">Outer::new</error>;
|
|
}
|
|
} |