mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 18:50:59 +07:00
10 lines
232 B
Java
10 lines
232 B
Java
class Test {
|
|
{
|
|
asList(<error descr="Cyclic inference">o -> {}</error>, 1, 2, 3);
|
|
asList(<error descr="T is not a functional interface">Test::foo</error>, 1, 2, 3);
|
|
}
|
|
|
|
void foo() {}
|
|
|
|
<T> void asList(T... tS) {}
|
|
} |