blob: fdc2b80f1977c9b9b808257894f818e436798575 [file]
// RUN_PIPELINE_TILL: CODEGEN
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 */