mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-17 18:50:49 +07:00
9e20e117d6
EA-103416 - assert: PsiMethodReferenceCompatibilityConstraint.getSubstitutor
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>;
|
|
}
|
|
} |