blob: 6dd9fada8e60fe95cccc03d671949fe80a7561ae [file]
// RUN_PIPELINE_TILL: BACKEND
// ISSUE: KT-63865
fun test(b: Boolean, block1: Any.() -> Unit, block2: (Any.(Any?) -> Unit)?) {
if (b) {
requireNotNull(block1)
} else {
requireNotNull(block2)
}
}
/* GENERATED_FIR_TAGS: functionDeclaration, functionalType, ifExpression, nullableType, typeWithExtension */