Check for continue-statement of the inner loop!

This commit is contained in:
Valentin Kipyatkov
2016-04-05 20:02:20 +03:00
parent 8c498af3d8
commit 863040700e
9 changed files with 42 additions and 11 deletions
@@ -0,0 +1,6 @@
// WITH_RUNTIME
fun foo(list: List<String>): String? {
<caret>return list
.flatMap { it.lines() }
.firstOrNull { !it.isBlank() }
}