Files
kotlin-fork/compiler/testData/codegen/regressions/kt2566_2.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

17 lines
246 B
Kotlin

open class A {
open val foo: String = "OK"
}
open class B : A() {
inner class E {
val foo: String = super<A>@B.foo
}
}
class C : B() {
inner class D {
val foo: String = super<B>@C.foo
}
}
fun box() = C().foo