Files
kotlin-fork/idea/testData/intentions/invertIfCondition/assignedToValue.kt.after
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
80 B
Plaintext
Vendored

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