Files
kotlin-fork/idea/testData/checker/QualifiedThis.jet
T
2011-03-28 22:45:16 +04:00

23 lines
266 B
Plaintext

class Dup {
fun Dup() : Unit {
this<error>@Dup</error>
}
}
class A {
fun foo() {
this@A
this<error>@a</error>
this
}
val x = this@A.foo()
val y = this.foo()
val z = foo()
}
fun foo() {
<error>this</error>
this<error>@a</error>
}