[FIR] Add some corner case tests for KT-64891

Note that there are some that K2
correctly supports, while K1 fails.

^KT-64891
This commit is contained in:
Nikolay Lunyak
2024-01-15 14:21:52 +02:00
committed by Space Team
parent 3a36a786d4
commit eb11901d43
10 changed files with 174 additions and 0 deletions
@@ -0,0 +1,6 @@
// FIR_IDENTICAL
// ISSUE: KT-64891
fun test(a: (Int.() -> Int)?, b: Int.() -> Int) {
2.(a ?: b)()
}