hmmm, makes sense actually!
my intention was to use it for multiple attributes
fun foo(default: Int, a: Int = default, b: Int = default, c: Int = default)
but following your comment, what I can do is
fun foo(a: Int, b: Int, c: Int)
fun foo(default: Int, a: Int = default, b: Int = default, c: Int = default) {
foo(a, b, c)
}
so if you don’t provide a default, you will have to use the second function and provide all the values