Do not reference java.util in tests that run on JS backend.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user