85d9e96632
Cases with no candidates or with Ambiguity is not supported yet
11 lines
316 B
Kotlin
Vendored
11 lines
316 B
Kotlin
Vendored
// IS_APPLICABLE: false
|
|
// ERROR: No value passed for parameter 'b'
|
|
// ERROR: 'operator' modifier is inapplicable on this function: must have a single value parameter
|
|
fun test() {
|
|
class Test{
|
|
operator fun contains(a: Int, b: Int): Boolean = true
|
|
}
|
|
val test = Test()
|
|
test.cont<caret>ains(0)
|
|
}
|