mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
don't correct substitution if not applicable, e.g. for unresolved functional types
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
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) {}
|
||||
}
|
||||
Reference in New Issue
Block a user