mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
12 lines
156 B
Kotlin
Vendored
12 lines
156 B
Kotlin
Vendored
open class A(val s: String)
|
|
|
|
fun box(): String {
|
|
class B {
|
|
val result = "OK"
|
|
|
|
val f = object : A(result) {}.s
|
|
}
|
|
|
|
return B().f
|
|
}
|