fun f(): T = throw UnsupportedOperationException() fun id(p: T): T = p fun main() { f() val a: A = f() f() val b: Int = f() f() // TODO svtk, uncomment when extensions are called for nested calls! //val < !UNUSED_VARIABLE!>с< !>: A = id(< !TYPE_PARAMETER_AS_REIFIED!>f< !>()) }