Files
kotlin-fork/idea/testData/completion/smart/this/QualifiedThis.kt
T
2015-03-06 22:04:16 +03:00

14 lines
508 B
Kotlin

class Outer {
inner class Inner {
fun String.foo() {
val v: Any = this@<caret>
}
}
}
// ABSENT: this
// EXIST: { lookupString: "this@foo", itemText: "this", tailText: "@foo", typeText: "String", attributes: "bold" }
// 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: 3