4c04ad2371
Before this commit, such descriptors have null owners, which causes problems when the getter of the owner property is called.
10 lines
169 B
Kotlin
Vendored
10 lines
169 B
Kotlin
Vendored
public object Globals{
|
|
operator fun get(key: String, remove: Boolean = true): String {
|
|
return "OK"
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
return Globals["test"]
|
|
}
|