Files
kotlin-fork/compiler/testData/diagnostics/tests/expressionsInQaSelectorsWithElvis.kt
T
Nikolay Lunyak 3024ec3da3 [FIR] Add // FIR_DUMP to some implicit invoke tests
Although these dumps don't really show if
something is a `FirFunctionCall` or a
`FirImplicitInvokeCall`, they do show what
goes into the receiver, and what are value
arguments.
2024-01-24 12:49:57 +00:00

8 lines
118 B
Kotlin
Vendored

// FIR_IDENTICAL
// ISSUE: KT-64891
// FIR_DUMP
fun test(a: (Int.() -> Int)?, b: Int.() -> Int) {
2.(a ?: b)()
}