Smart completion works in initializer of variable with unknown type (the same as ordinary completion)
#KT-8691 Fixed
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
interface I {
|
||||
fun takeXxx(): Int = 0
|
||||
fun takeYyy(): Int = 0
|
||||
fun takeZzz(): Int = 0
|
||||
}
|
||||
|
||||
fun foo(i: I) {
|
||||
val yyy = i.take<caret>
|
||||
}
|
||||
|
||||
// ORDER: takeYyy
|
||||
// ORDER: takeXxx
|
||||
// ORDER: takeZzz
|
||||
Reference in New Issue
Block a user