Files
kotlin-fork/idea/testData/inspectionsLocal/conventionNameCalls/replaceGetOrSet/getWithSpread.kt
T
2020-02-14 08:47:10 +03:00

14 lines
212 B
Kotlin
Vendored

// PROBLEM: none
class A {
operator fun get(vararg args: Any) {
println(args.size)
}
private fun println(i: Int) {}
}
fun main() {
val args = arrayOf("a", 1)
A().<caret>get(*args)
}