// !DIAGNOSTICS: -UNUSED_ANONYMOUS_PARAMETER fun id(x: T) = x fun select(vararg x: T) = x[0] val x1 = select(id { this }, fun Int.() = this) val x2 = select(id { this + it.inv() }, fun Int.(x: Int) = this) val x3 = select(id { this.length + it.inv() }, fun String.(x: Int) = length)