mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
10 lines
134 B
Kotlin
Vendored
10 lines
134 B
Kotlin
Vendored
abstract class Base {
|
|
val result = "OK"
|
|
}
|
|
|
|
class Derived : Base()
|
|
|
|
fun box(): String {
|
|
return (Base::result).get(Derived())
|
|
}
|