Files
kotlin/compiler/testData/codegen/bytecodeText/inline/noSynAccessorToSuper.kt

36 lines
466 B
Kotlin
Vendored

inline fun call(s: () -> Unit) {
s()
}
open class Base {
protected open fun method() {}
protected open val prop = 1
}
class A: Base() {
override fun method() {}
override val prop = 1
fun test1() {
call {
super.method()
super.prop
}
}
fun test2() {
call {
call {
super.method()
super.prop
}
}
}
}
//0 access\$