I am not fund of the new usage of context
keyword in K2.x at all.
With some attention, the same result could have been achieved with only two cleaner keywords.
interface AutoClosing {
local fun File.open()
}
interface ContextualAutoClosing {
local override fun File.open()
}
Maybe I am wrong again!