Files
kotlin-fork/compiler/testData/codegen/box/regressions/kt3421.kt
T
Juan Chen 4c04ad2371 FIR: Add bindings for dispatch receiver parameters
Before this commit, such descriptors have null owners, which causes problems when the getter of the owner property is called.
2019-12-27 10:13:44 +03:00

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"]
}