Files
kotlin-fork/idea/idea-completion/testData/weighers/basic/expectedInfo/PreferMatchingThis.kt
T
Simon Ogorodnik 439e158fb2 Fix failing test after migration to IDEA 171
BasicCompletionWeigherTestGenerated$ExpectedInfo.testPreferMatchingThis
Looks like IDEA now rearranges elements with same weight by length and
then alphabetically
2017-03-21 16:47:16 +03:00

14 lines
217 B
Kotlin
Vendored

interface X
open class Y : X {
open inner class Inner {
fun Any.foo(): X {
if (this@Inner is X) return this@<caret>
}
}
}
// ORDER: this@Y
// ORDER: this@Inner
// ORDER: this@foo