1c24a97b9e
When creating proxy functions in a host class for @JvmStatic members of companion object, skip functions for default parameters handling.
13 lines
182 B
Kotlin
Vendored
13 lines
182 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
|
|
class WithCompanion {
|
|
companion object {
|
|
@JvmStatic
|
|
fun foo(x: Int = 1) {}
|
|
}
|
|
}
|
|
|
|
object AnObject {
|
|
@JvmStatic
|
|
fun foo(x: Int = 1) {}
|
|
} |