sum and sumBy supported

This commit is contained in:
Valentin Kipyatkov
2016-08-18 20:19:35 +03:00
parent 7c92f7974f
commit d0f6e25783
40 changed files with 682 additions and 6 deletions
@@ -0,0 +1,7 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'sum()'"
// IS_APPLICABLE_2: false
fun foo(list: List<Byte>): Int {
val <caret>s = list.sum()
return s
}