sum and sumBy supported
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// WITH_RUNTIME
|
||||
// INTENTION_TEXT: "Replace with 'sum()'"
|
||||
// IS_APPLICABLE_2: false
|
||||
fun foo(list: List<Int>): Int {
|
||||
val <caret>s = list.sum()
|
||||
return s
|
||||
}
|
||||
Reference in New Issue
Block a user