Files
kotlin-fork/idea/testData/slicer/inflow/whenExpression.kt
T
Alexey Sedunov 858b454138 Analyze Data Flow: Initial implementation
#KT-11994 In Progress
2017-06-09 17:19:15 +03:00

9 lines
125 B
Kotlin
Vendored

// FLOW: IN
fun test(m: Int, n: Int) {
val <caret>x = when (m) {
1 -> 1
2 -> n
else -> 0
}
}