blob: d178a9a53e00d11e9c80f59c1acaf45f99059749 [file]
// RUN_PIPELINE_TILL: BACKEND
public fun <T> T.myAlso(block: (T) -> Unit): T = TODO()
class B {
fun add(x: String): Boolean = true
}
fun main(b: B) {
"".myAlso(b::add)
}
/* GENERATED_FIR_TAGS: callableReference, classDeclaration, funWithExtensionReceiver, functionDeclaration,
functionalType, nullableType, stringLiteral, typeParameter */