Is there a reason why named arguments / default arguments do not get inlined by the compiler? Why does the compiler generate a bit field which is used to set arguments at runtime instead of just inlining the arguments at run time?
Example:
fun x(a: Int = 1)
used as
x()
would be compiled as
x(1)
.