1df318ff28
^KT-63865 fixed
10 lines
194 B
Kotlin
Vendored
10 lines
194 B
Kotlin
Vendored
// ISSUE: KT-63865
|
|
|
|
fun test(b: Boolean, block1: Any.() -> Unit, block2: (Any.(Any?) -> Unit)?) {
|
|
if (b) {
|
|
requireNotNull(block1)
|
|
} else {
|
|
requireNotNull(block2)
|
|
}
|
|
}
|