Files
kotlin-fork/idea/idea-completion/testData/weighers/basic/expectedInfo/PreferMatchingThis.kt
T
2015-08-10 17:49:33 +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@Inner
// ORDER: this@Y
// ORDER: this@foo