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