blob: 092a18eeaf8a9e87a5b68862fdc690f9b98157de [file]
// RUN_PIPELINE_TILL: BACKEND
//KT-2195 error "Only safe calls are allowed ..." but it is function param (val)
package foo
private fun <T> sendCommand(errorCallback: (()->Unit)? = null) {
if (errorCallback != null) {
<!DEBUG_INFO_SMARTCAST!>errorCallback<!>()
}
}
/* GENERATED_FIR_TAGS: equalityExpression, functionDeclaration, functionalType, ifExpression, nullableType, smartcast,
typeParameter */