Files
kotlin-fork/idea/testData/intentions/operatorToFunction/postfixPlusPlusInIfExpression.kt
T
Dmitry Gridin 5089df2441 Fix convert unary operator to function call
#KT-25501 Fixed
2019-02-12 11:57:40 +03:00

9 lines
94 B
Kotlin
Vendored

fun foo() {
var a = 0
if (true) {
a++<caret>
} else {
a--
}
}