mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-07 08:31:28 +00:00
17 lines
257 B
Kotlin
Vendored
17 lines
257 B
Kotlin
Vendored
package a
|
|
|
|
open class A {
|
|
protected fun protectedFun(): String = "OK"
|
|
}
|
|
|
|
class BSamePackage: A() {
|
|
fun test(): String {
|
|
val a = {
|
|
protectedFun()
|
|
}
|
|
return a()
|
|
}
|
|
}
|
|
|
|
// 0 INVOKESTATIC a/BSamePackage.protectedFun
|