KT-12299 Completion: incorrect priority of property foo over method getFoo in Kotlin-only code

#KT-12299 Fixed
This commit is contained in:
Valentin Kipyatkov
2016-05-12 22:55:53 +03:00
parent 97ad0d5c86
commit e04c6d1f5c
7 changed files with 65 additions and 1 deletions
@@ -0,0 +1,10 @@
interface Z {
companion object {
val instance: Z? = null
}
}
fun foo(): Z? = Z<caret>
// ORDER: instance
// ORDER: object