Files
kotlin-fork/idea/testData/intentions/conventionNameCalls/replaceCallWithBinaryOperator/greater.kt
T
Mikhail Glukhikh fc13b25ca4 KT-11425: convert a.compareTo(b) to binary comparison if possible
(cherry picked from commit 7219904)
2016-08-01 12:23:19 +03:00

3 lines
79 B
Kotlin
Vendored

// INTENTION_TEXT: Replace with '>' operator
val x = 3.compareTo<caret>(2) > 0