Files
kotlin-fork/compiler/testData/diagnostics/tests/thisAndSuper/thisInInnerClasses.kt
T
Alexander Udalov 43c37398af Labeled this & super to nested class' outer is an error
#KT-1174 In Progress
2013-01-16 23:11:42 +04:00

9 lines
154 B
Kotlin

class A(val a:Int) {
inner class B() {
val x = this@B : B
val y = this@A : A
val z = this : B
val Int.xx : Int get() = this : Int
}
}