Files
kotlin-fork/compiler/testData/codegen/box/defaultArguments/kt36972_object.kt
T
Dmitry Petrov 1c24a97b9e KT-36972 Don't create proxies for companion @JvmStatic $default in host
When creating proxy functions in a host class for @JvmStatic members of
companion object, skip functions for default parameters handling.
2020-03-18 13:33:56 +03:00

9 lines
136 B
Kotlin
Vendored

// TARGET_BACKEND: JVM
// WITH_RUNTIME
object Host {
@JvmStatic
fun foo(s: String = "OK") = s
}
fun box(): String = Host.foo()