Files
kotlin-fork/idea/testData/intentions/invertIfCondition/assignedToValue.kt
T
Valentin Kipyatkov 8da5af3a10 KT-11974 Invert if-condition intention loses comments
#KT-11974 Fixed
2016-05-10 15:40:51 +03:00

4 lines
86 B
Kotlin
Vendored

fun main() {
val a = -1
val t = <caret>if (a > 0) a /* a */ else -a /* -a */
}