080a832605
Maybe for other elements ValueArgument itself used as SourceElement
10 lines
285 B
Kotlin
Vendored
10 lines
285 B
Kotlin
Vendored
// IS_APPLICABLE: false
|
|
// ERROR: 'operator' modifier is inapplicable on this function: must have a single value parameter
|
|
fun test() {
|
|
class Test{
|
|
operator fun contains(vararg b: Int, c: Int = 0): Boolean = true
|
|
}
|
|
val test = Test()
|
|
test.contains<caret>(c=5)
|
|
}
|