mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
8 lines
134 B
Kotlin
Vendored
8 lines
134 B
Kotlin
Vendored
open class K
|
|
|
|
fun box(): String {
|
|
val f = J::value
|
|
val a = J()
|
|
return if (f.get(a) == 42) "OK" else "Fail: ${f.get(a)}"
|
|
}
|