Files
Mark Punzalan b8eee9d001 KotlinHighLevelFunctionParameterInfoHandler: Properly handle vararg parameter arguments.
The computation for which parameter to highlight did not account for
multiple arguments for vararg parameters.

GitOrigin-RevId: dce019225af47749425c80c628332a895a549a57
2022-02-08 08:47:58 +00:00

9 lines
226 B
Kotlin

fun m(x: Boolean, vararg y: Int) = 2
fun d() {
val a = intArrayOf(1, 2, 3)
m(y = <caret>a, x = true)
}
/*
Text: (<highlight>[vararg y: Int]</highlight>, [x: Boolean]), Disabled: false, Strikeout: false, Green: true
*/