mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
10 lines
224 B
Kotlin
10 lines
224 B
Kotlin
var status: String = "fail" // global property to avoid issues with accessing closure from local class (KT-4174)
|
|
|
|
class KotlinClass(): JavaClass({status="OK"}) {
|
|
}
|
|
|
|
fun box(): String {
|
|
KotlinClass()
|
|
return status
|
|
}
|