Files
kotlin-fork/idea/testData/intentions/conventionNameCalls/replaceContains/invalidArgument.kt
T
2015-05-14 01:10:05 +03:00

10 lines
222 B
Kotlin
Vendored

// IS_APPLICABLE: false
// ERROR: Cannot find a parameter with this name: c
fun test() {
class Test{
fun contains(a: Int=1, b: Int=2): Boolean = true
}
val test = Test()
test.c<caret>ontains(c=3)
}