[FIR] Remove the redundant isFunctionType check
^KT-63865 fixed
This commit is contained in:
committed by
Space Team
parent
3a77f39199
commit
1df318ff28
Vendored
+9
@@ -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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user