10 lines
187 B
Plaintext
Vendored
10 lines
187 B
Plaintext
Vendored
// INTENTION_TEXT: Simplify negated '!in' expression to 'in'
|
|
class A(val e: Int) {
|
|
operator fun contains(i: Int): Boolean = e == i
|
|
}
|
|
|
|
fun test(n: Int) {
|
|
val a = A(1)
|
|
0 in a
|
|
}
|