mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
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) {}
|
|
} |