flatMapTo supported

This commit is contained in:
Valentin Kipyatkov
2016-04-06 17:23:17 +03:00
parent f3c760607b
commit d3721e9462
4 changed files with 38 additions and 3 deletions
+8
View File
@@ -0,0 +1,8 @@
// WITH_RUNTIME
fun foo(list: List<String>, target: MutableList<String>) {
<caret>for (s in list) {
for (line in s.lines()) {
target.add(line)
}
}
}