Suppose function ```fun test(a: Int = <default ...
# compiler
p
Suppose function
Copy code
fun test(a: Int = <default value calculation>)
And caller
Copy code
test(if (expr) 10 else <default value calculation> )
It will be good if there was possibility to pass some keyword that is treated as default value that was declared in function. For example:
Copy code
test(if (expr) 10 else default)
p
Good to know that work is going on. It is realy usefull feature.