Files
kotlin-fork/idea/testData/slicer/outflow/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
126 B
Kotlin
Vendored

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