blob: 69ed17c7836e6757e26bfda5576d15a52b0ba94e [file]
// RUN_PIPELINE_TILL: FRONTEND
// SKIP_TXT
// ISSUE: KT-63709
operator fun Int.invoke(unused: Int) {}
fun test1(a: Int?) {
<!UNSAFE_IMPLICIT_INVOKE_CALL!>a<!>(a!!)
}
fun test2(a: Int?) {
with (a) {
<!UNSAFE_CALL!>invoke<!>(this!!)
}
}
/* GENERATED_FIR_TAGS: checkNotNullCall, funWithExtensionReceiver, functionDeclaration, lambdaLiteral, nullableType,
operator, thisExpression */