Files
kotlin-fork/idea/idea-completion/testData/smart/this/QualifiedThis.kt
T
Valentin Kipyatkov 54836113a7 Better test data format
2015-06-04 17:21:28 +03:00

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