KT 3492: Bug in bytecode generation for labeled super call from inner class & Property generation refactoring
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
open class A {
|
||||
open fun foo2(): String = "OK"
|
||||
}
|
||||
|
||||
open class B : A() {
|
||||
|
||||
}
|
||||
|
||||
class C : B() {
|
||||
inner class D {
|
||||
val foo: String = super<B>@C.foo2()
|
||||
}
|
||||
}
|
||||
|
||||
fun box() : String {
|
||||
val obj = C().D();
|
||||
return obj.foo
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user