blob: 5298c8d321e80bcef0043e09a961fceb54d28cf0 [file]
// RUN_PIPELINE_TILL: BACKEND
// FIR_IDENTICAL
class ShortenReferences {
companion object {
val DEFAULT = ShortenReferences()
}
fun process(
element: String,
elementFilter: (String) -> Int = { 10 },
actionRunningMode: String = ""
): String {
return "hello"
}
fun process(
element: String,
elementFilter: (String) -> Int = { 10 },
): String {
return "hello"
}
}
fun takeReference(block: (String) -> Unit) {}
fun test() {
takeReference(ShortenReferences.DEFAULT::process)
}
/* GENERATED_FIR_TAGS: callableReference, classDeclaration, companionObject, functionDeclaration, functionalType,
integerLiteral, lambdaLiteral, objectDeclaration, propertyDeclaration, stringLiteral */