6f234beb9c
- Replace `isFunctionType` with `isBuiltinFunctionalType` where it is relevant - ^KT-34414 Fixed
12 lines
419 B
Kotlin
Vendored
12 lines
419 B
Kotlin
Vendored
interface I : suspend () -> Unit
|
|
|
|
fun xfoo(p: suspend () -> Unit) {}
|
|
|
|
fun test(action: suspend () -> Unit, i: I, notSuspend: () -> Unit) {
|
|
xf<caret>
|
|
}
|
|
|
|
// EXIST: { itemText:"xfoo", tailText:" {...} (p: suspend () -> Unit) (<root>)", typeText:"Unit" }
|
|
// EXIST: { itemText:"xfoo", tailText:"(action) (<root>)", typeText:"Unit" }
|
|
// EXIST: { itemText:"xfoo", tailText:"(i) (<root>)", typeText:"Unit" }
|
|
// NOTHING_ELSE |