Generate sum() methods for arrays, iterables and sequences of Byte and Short. These overloads got explicit platformName.

Heuristics to decide when to set platformName.
#KT-3714
This commit is contained in:
Ilya Gorbunov
2015-04-15 23:14:46 +03:00
parent ccc3646bb8
commit 9759be5493
21 changed files with 270 additions and 145 deletions
@@ -5,6 +5,7 @@ package kotlin
// See: https://github.com/JetBrains/kotlin/tree/master/libraries/stdlib
//
import kotlin.platform.*
import java.util.*
import java.util.Collections // TODO: it's temporary while we have java.util.Collections in js