Do not reference java.util in tests that run on JS backend.

This commit is contained in:
Ilya Gorbunov
2016-09-30 22:15:34 +03:00
parent 491ca582b3
commit 38840bb529
151 changed files with 76 additions and 214 deletions
-2
View File
@@ -1,7 +1,5 @@
package whats.the.difference
import java.util.HashSet
fun iarray(vararg a : Int) = a // BUG
val IntArray.indices: IntRange get() = IntRange(0, lastIndex())
fun IntArray.lastIndex() = size - 1