[FIR] Remove the redundant isFunctionType check

^KT-63865 fixed
This commit is contained in:
Nikita Nazarov
2023-11-28 13:24:42 +01:00
committed by teamcity
parent 98186ec283
commit 1f97c268e1
8 changed files with 47 additions and 1 deletions
@@ -0,0 +1,9 @@
// ISSUE: KT-63865
fun test(b: Boolean, block1: Any.() -> Unit, block2: (Any.(Any?) -> Unit)?) {
if (b) {
requireNotNull(block1)
} else {
requireNotNull(block2)
}
}