Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0801cc12da5af28d8009eb66d070f37079ab755d
/
.
/
idea
/
testData
/
intentions
/
convertTwoComparisonsToRangeCheck
/
flippedSideEffect.kt
blob: ed487c2ac6f3a1c61779b0946af70303c2dbc870 [
file
] [
log
] [
blame
]
// IS_APPLICABLE: false
var
x
=
42
// Should be converted into arg in --x..++x (41..42) but initial check is arg <= ++x (43) && --x (42) <= arg
fun foo
(
arg
:
Int
)
=
<caret>
arg
<=
++
x
&&
--
x
<=
arg