Fixed KT-6011 Smart completion works for argument of wrong method
#KT-6011 Fixed
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user