2b1d60397d
#KT-10202 In Progress
33 lines
644 B
Kotlin
Vendored
33 lines
644 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
|
|
class Test {
|
|
fun foo() {
|
|
bar(object : Runnable {
|
|
override fun run() {
|
|
println(this)
|
|
}
|
|
})
|
|
|
|
// Applicable
|
|
bar(<caret>object : Runnable {
|
|
override fun run() {
|
|
println(this@Test)
|
|
}
|
|
})
|
|
|
|
// Applicable
|
|
bar(object : Runnable {
|
|
override fun run() {
|
|
bar(object : Runnable {
|
|
override fun run() {
|
|
println(this)
|
|
}
|
|
})
|
|
}
|
|
})
|
|
}
|
|
|
|
private fun bar(b: Runnable) {
|
|
|
|
}
|
|
} |