593937d302
callBy is able to handle optional parameters. #KT-8827 Fixed
4 lines
83 B
Kotlin
Vendored
4 lines
83 B
Kotlin
Vendored
fun foo(result: String = "OK") = result
|
|
|
|
fun box(): String = ::foo.callBy(mapOf())
|