mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
All the TODOs in the file must be resolved to enable all the remaining tests. GitOrigin-RevId: 826f035e0a2ec08bf380d2b96aa8f4ff1e7feea6
28 lines
548 B
Kotlin
28 lines
548 B
Kotlin
// Possible parameter info, for index, lambda and arguments.
|
|
// Test is flaky without the fix. In IDEA there's a blinking without the fix with different popups.
|
|
|
|
fun foo(a: A) {
|
|
a.subscribe(object : L {
|
|
override fun on() {
|
|
withLambda {
|
|
<caret>arrayOf(1)[0]
|
|
}
|
|
}
|
|
})
|
|
}
|
|
|
|
fun withLambda(a: (Int) -> Unit) {}
|
|
|
|
interface L {
|
|
fun on()
|
|
}
|
|
|
|
class A {
|
|
fun subscribe(listener: L) {}
|
|
}
|
|
|
|
/*
|
|
Text: (<highlight>a: (Int) -> Unit</highlight>), Disabled: false, Strikeout: false, Green: true
|
|
*/
|
|
|