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

8 lines
93 B
Plaintext
Vendored

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