Smart completion: one more working test and one more test to fix later
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
fun foo(p: String.(Int) -> Unit){}
|
||||
|
||||
fun bar() {
|
||||
foo(<caret>)
|
||||
}
|
||||
|
||||
// EXIST: "{...}"
|
||||
// EXIST: "{ Int -> ... }"
|
||||
@@ -0,0 +1,11 @@
|
||||
class C {
|
||||
fun foo(s: String){}
|
||||
}
|
||||
|
||||
fun foo(i: Int) {
|
||||
val s = ""
|
||||
C().foo(<caret>)
|
||||
}
|
||||
|
||||
// ABSENT: i
|
||||
// EXIST: s
|
||||
Reference in New Issue
Block a user