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
4 lines
101 B
Kotlin
4 lines
101 B
Kotlin
// INTENTION_TEXT: Simplify negated '==' expression to '!='
|
|
fun test(n: Int) {
|
|
!(0<caret> == 1)
|
|
} |