mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
In some cases, calls of methods with default arguments were invoked via the actual generated method, not via the "...$default" accessor
4 lines
72 B
Kotlin
4 lines
72 B
Kotlin
fun Int.foo(o: String, k: String = "K") = o + k
|
|
|
|
fun box() = 42 foo "O"
|