Files
kotlin-fork/compiler/testData/diagnostics/tests/thisAndSuper/QualifiedThis.kt
T

12 lines
219 B
Kotlin

// FILE: f.kt
class A() {
fun foo() : Unit {
<!UNUSED_EXPRESSION!>this@A<!>
this<!UNRESOLVED_REFERENCE!>@a<!>
<!UNUSED_EXPRESSION!>this<!>
}
val x = this@A.foo()
val y = this.foo()
val z = foo()
}