Generating more simple construct instead of "let" in some cases
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo(list: List<String?>) {
|
||||
<caret>val result: String? = list.firstOrNull { it != "" }?.substring(1)
|
||||
}
|
||||
Reference in New Issue
Block a user