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