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
-1
View File
@@ -1,4 +1,3 @@
import java.util.ArrayList
fun box(): String {
val a = ArrayList<Int>()
-1
View File
@@ -1,4 +1,3 @@
import java.util.*
fun box(): String {
val map: MutableMap<String, Int> = HashMap<String, Int>()
@@ -1,4 +1,3 @@
import java.util.HashMap
fun box() : String {
if (!testIteratingOverMap1()) return "fail 1"
-1
View File
@@ -1,4 +1,3 @@
import java.util.ArrayList
class IntArrayList(): ArrayList<Int>() {
override fun get(index: Int): Int = super.get(index)