I think it would be a nice addition if we could write Extensions Properties (and Functions) with two Receivers.
It would allow us to define extension Functions which are only valid in a specific content, for example in an Android Activity / Context.
val Context.Int.dip: Int
get() = (value * this@Context.resources.displayMetrics.density).toInt()
fun Context.dip(value: Int): Int = (value * resources.displayMetrics.density).toInt()
So the usage would be:
width = 8.dip
width = dip(8)
Of course in this scenario it is only a small improvement, but in my opinion this addition could be useful in many situations.
What do you think?