Files
kotlin-fork/idea/testData/slicer/outflow/forVariable.kt
T
Alexey Sedunov 1ceb751061 Data Outflow: Allow for-loop variables
#KT-19018 Fixed
2017-11-27 14:36:09 +03:00

9 lines
143 B
Kotlin
Vendored

// FLOW: OUT
fun f1(param: String) {}
fun f4(list: List<String>) {
for (<caret>s in list)
if (s.isNotEmpty())
f1(s)
}