d198465522
Given an expression of the form `!(a op b)`, replace it with `a !op b`.
For example:
!(a < b) -> a >= b
!(a is Int) -> a !is int
5 lines
127 B
Plaintext
5 lines
127 B
Plaintext
// INTENTION_TEXT: Simplify negated 'in' expression to '!in'
|
|
fun test(n: Int) {
|
|
val arr = ArrayList<Int>(1)
|
|
0 !in arr
|
|
} |