0c1d25d5ac
Decide on completion order by other factors
Previously would prefer callable that return Unit if Unit is the expected type
leading to strange completion order
#KT-25588 Fixed
21 lines
234 B
Kotlin
Vendored
21 lines
234 B
Kotlin
Vendored
// RUNTIME
|
|
package test
|
|
|
|
import bar.r
|
|
import bar.foo3
|
|
|
|
fun main() {
|
|
val fooLocal = 3
|
|
r {
|
|
foo<caret>
|
|
}
|
|
}
|
|
|
|
// ORDER: foo6
|
|
// ORDER: foo2
|
|
// ORDER: foo3
|
|
// ORDER: foo4
|
|
// ORDER: fooLocal
|
|
// ORDER: foo5
|
|
// ORDER: foo1
|