Do not reference java.util in tests that run on JS backend.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import java.util.ArrayList
|
||||
|
||||
fun box(): String {
|
||||
val a = ArrayList<Int>()
|
||||
|
||||
@@ -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
@@ -1,4 +1,3 @@
|
||||
import java.util.ArrayList
|
||||
|
||||
class IntArrayList(): ArrayList<Int>() {
|
||||
override fun get(index: Int): Int = super.get(index)
|
||||
|
||||
Reference in New Issue
Block a user