mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-01 21:20:54 +07:00
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only) GitOrigin-RevId: 03528950826974c1875e89868dc335c88c2e8149
10 lines
287 B
Java
10 lines
287 B
Java
class Test {
|
|
{
|
|
asList(<error descr="Target type of a lambda conversion must be an interface">o -> {}</error>, 1, 2, 3);
|
|
asList(<error descr="java.lang.Integer is not a functional interface">Test::foo</error>, 1, 2, 3);
|
|
}
|
|
|
|
void foo() {}
|
|
|
|
<T> void asList(T... tS) {}
|
|
} |