Initial implementation of loop-to-call-chain intention
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo(list: List<String>) {
|
||||
<caret>var result: String? = list.firstOrNull { it.length > 0 }
|
||||
|
||||
result += "1"
|
||||
}
|
||||
Reference in New Issue
Block a user