Files
kotlin-fork/idea/testData/intentions/conventionNameCalls/replaceGetOrSet/invalidArgument.kt
T
2015-10-22 18:48:15 +03:00

10 lines
215 B
Kotlin
Vendored

// IS_APPLICABLE: false
// ERROR: Cannot find a parameter with this name: c
fun test() {
class Test{
operator fun get(a: Int=1, b: Int=2) : Int = 0
}
val test = Test()
test.g<caret>et(c=3)
}