[java] don't propagate ellipsis type as target type for non-vararg calls (IDEA-286407)

GitOrigin-RevId: 3693373240012db841bffaca1a5f8765200acbc8
This commit is contained in:
Anna Kozlova
2022-01-17 10:15:17 +01:00
committed by intellij-monorepo-bot
parent 4f882c4485
commit e3c0d74cb6
5 changed files with 40 additions and 28 deletions

View File

@@ -0,0 +1,10 @@
class Main {
{
bar(ge<caret>t());
}
static void bar(Object... o) {}
static <T> T get() {
return (T) null;
}
}