KT 3492: Bug in bytecode generation for labeled super call from inner class & Property generation refactoring

This commit is contained in:
Mikhael Bogdanov
2013-04-09 19:45:14 +04:00
parent 8a14087c91
commit 3da3f94b4e
13 changed files with 230 additions and 115 deletions
@@ -0,0 +1,16 @@
trait A {
open val foo: String
get() = "OK"
}
open class B : A {
}
class C : B() {
inner class D {
val foo: String = super<B>@C.foo
}
}
fun box() = C().D().foo