Files
kotlin/compiler/testData/codegen/box/defaultArguments/function/binaryCall.kt
Alexander Udalov 723d5ef564 Fix default argument method calls
In some cases, calls of methods with default arguments were invoked via the
actual generated method, not via the "...$default" accessor
2013-09-03 22:26:05 +04:00

4 lines
72 B
Kotlin

fun Int.foo(o: String, k: String = "K") = o + k
fun box() = 42 foo "O"