Files
kotlin-fork/idea/testData/checker/QualifiedThis.jet
T
Andrey Breslav 69a39907e2 Tests fixed
2011-04-04 21:26:52 +04:00

23 lines
280 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 foo() : Unit {
<error>this</error>
this<error>@a</error>
}