Skip references for invoke when number of arguments in psi is wrong

This commit is contained in:
Nikolay Krasko
2017-04-18 16:25:55 +03:00
parent d3ff8c12a4
commit 102310e3c2
4 changed files with 23 additions and 3 deletions
@@ -26,4 +26,8 @@ class C(): B(12) {
fun cTest(c: C) {
c(5)
some(12, "Irrelevant usage")
}
fun some(i: Int, s: String) {}
@@ -1,8 +1,6 @@
Checked type of pack.f()
Checked type of v
Resolved c(5)
Resolved f()
Resolved f()
Resolved f()(2)
Resolved listOf(Obj)[0](1)
Resolved v(1)