Fixed KT-6011 Smart completion works for argument of wrong method

#KT-6011 Fixed
This commit is contained in:
Valentin Kipyatkov
2014-10-15 15:05:08 +04:00
parent b18b888161
commit 2365db1367
7 changed files with 37 additions and 4 deletions
@@ -0,0 +1,12 @@
fun String.foo(a: Int){}
class C {
fun foo(s: String){}
fun bar(p1: String, p2: Int) {
"".foo(<caret>)
}
}
// ABSENT: p1
// EXIST: p2