14 lines
511 B
Kotlin
Vendored
14 lines
511 B
Kotlin
Vendored
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" }
|
|
// NOTHING_ELSE
|