10 lines
187 B
Kotlin
Vendored
10 lines
187 B
Kotlin
Vendored
// FIX: Replace negated '!in' operation with 'in'
|
|
class A(val e: Int) {
|
|
operator fun contains(i: Int): Boolean = e == i
|
|
}
|
|
|
|
fun test(n: Int) {
|
|
val a = A(1)
|
|
<caret>!(0 !in a)
|
|
}
|