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,16 @@
package test
class A {
val foo = 42
fun getFoo() = ""
fun test() {
getF<caret>
}
}
// ORDER: getFoo
// ORDER: getFaa
// ORDER: foo