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

10 lines
150 B
Kotlin
Vendored

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