Files
kotlin-fork/compiler/testData/diagnostics/tests/expressionsInQaSelectorsReceiverConversion.kt
T
Nikolay Lunyak 47a51f6499 [FIR] Fix failing Space build
Build failure was introduced by `9b786d35`,
where I forgot that typealiases exist.

^KT-64891
^KT-65336 Fixed

Merge-request: KT-MR-14087
Merged-by: Nikolay Lunyak <Nikolay.Lunyak@jetbrains.com>
2024-01-26 16:32:18 +00:00

13 lines
163 B
Kotlin
Vendored

// ISSUE: KT-64891
// FIR_DUMP
fun test(f: (Int) -> Int) {
2.<!NO_RECEIVER_ALLOWED!>(f)<!>()
}
typealias TA = Int.() -> Int
fun rest(f: TA) {
2.(f)()
}