Files
kotlin-fork/idea/testData/checker/QualifiedThis.jet
T
2011-12-27 14:54:41 +04:00

24 lines
284 B
Plaintext

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