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

9 lines
95 B
Plaintext
Vendored

fun foo() {
var a = 0
if (true) {
a = a.inc()
} else {
a--
}
}