Files
kotlin-fork/idea/testData/intentions/conventionNameCalls/replaceGetOrSet/setWithVararg.kt
T
2015-10-30 17:25:34 +03:00

12 lines
186 B
Kotlin
Vendored

// IS_APPLICABLE: false
class C {
operator fun set(s: String, vararg value: Int): Boolean = true
}
class D(val c: C) {
fun foo() {
this.c.<caret>set("x", 1, 2)
}
}