incompatible types tooltip: ensure vararg parameter is shown when first arg is compatible

GitOrigin-RevId: 70cc20169203f5dc857e73a84548089b6ebebc3c
This commit is contained in:
Anna.Kozlova
2019-11-07 02:40:58 +00:00
committed by intellij-monorepo-bot
parent 1ccce974ac
commit 628624c0c8
3 changed files with 16 additions and 12 deletions
@@ -4,6 +4,6 @@ class MyTest {
}
void test() {
processStrings(<error descr="'processStrings(java.lang.String...)' in 'MyTest' cannot be applied to '(int, java.lang.String, java.lang.String)'">1</error>, "str", "s");
processStrings("", <error descr="'processStrings(java.lang.String...)' in 'MyTest' cannot be applied to '(java.lang.String, int, java.lang.String, java.lang.String)'">1</error>, "str", "s");
}
}