// RUN_PIPELINE_TILL: BACKEND
// ISSUE: KT-57958

fun ListVM<*>.foo() {
    val currentItem1: MutableProperty<out Any?> = <!DEBUG_INFO_EXPRESSION_TYPE("MutableProperty<CapturedType(*)?>")!>currentItem<!>
}

interface MutableProperty<T> {
    var value: T
}

interface ListVM<TItemVM> {
    val currentItem: MutableProperty<TItemVM?>
}

/* GENERATED_FIR_TAGS: capturedType, funWithExtensionReceiver, functionDeclaration, interfaceDeclaration, localProperty,
nullableType, outProjection, propertyDeclaration, starProjection, typeParameter */
