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

8 lines
185 B
Kotlin

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