Files
kotlin-fork/idea/testData/completion/keywords/QualifiedThis.kt
T
Valentin Kipyatkov 3b0fe8831b Code completion of "this@..."
#KT-2035 Fixed
2014-12-29 17:27:29 +03:00

14 lines
402 B
Kotlin

class Outer {
inner class Inner {
fun String.foo() {
this@<caret>
}
}
}
// ABSENT: this
// ABSENT: "this@foo"
// EXIST: { lookupString: "this@Inner", itemText: "this", tailText: "@Inner", typeText: "Outer.Inner", attributes: "bold" }
// EXIST: { lookupString: "this@Outer", itemText: "this", tailText: "@Outer", typeText: "Outer", attributes: "bold" }
// NUMBER: 2