mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 15:53:55 +00:00
7 lines
121 B
Kotlin
Vendored
7 lines
121 B
Kotlin
Vendored
open class A(val a: String, val b: Int)
|
|
|
|
fun box(): String {
|
|
val o = object : A(b = 2, a = "OK") {}
|
|
return o.a
|
|
}
|