mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 18:58:31 +07:00
ignore most specific check if parameter count were not matched at all
EA-75076 - AIOOBE: InferenceSession.isMoreSpecific
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
// "Replace with expression lambda" "false"
|
||||
class IdeaSetterArgsShouldBeFinal {
|
||||
|
||||
interface I {
|
||||
void m1();
|
||||
}
|
||||
|
||||
interface J {
|
||||
void m2();
|
||||
}
|
||||
|
||||
<L> void foo(I i, J j1, J... j){}
|
||||
<K> void foo(I o, I i1, I... i){}
|
||||
|
||||
{
|
||||
foo(() -> {
|
||||
System.ou<caret>t.println("");
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user