mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
The computation for which parameter to highlight did not account for multiple arguments for vararg parameters. GitOrigin-RevId: dce019225af47749425c80c628332a895a549a57
9 lines
221 B
Kotlin
9 lines
221 B
Kotlin
fun m(x: Boolean, vararg y: Int) = 2
|
|
|
|
fun d() {
|
|
val a = intArrayOf(1, 2, 3)
|
|
m(true, 1, *a<caret>, 4)
|
|
}
|
|
/*
|
|
Text: (x: Boolean, <highlight>vararg y: Int</highlight>), Disabled: false, Strikeout: false, Green: true
|
|
*/ |