Files
kotlin-fork/idea/testData/intentions/operatorToFunction/notApplicablePostfixPlusPlusInWhenExpression.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
124 B
Kotlin
Vendored

// IS_APPLICABLE: false
fun foo() {
var a = 0
val b = when {
true -> a++<caret>
else -> a--
}
}