Do not reference java.util in tests that run on JS backend.
This commit is contained in:
-2
@@ -1,5 +1,3 @@
|
||||
import java.util.HashSet
|
||||
|
||||
class A : HashSet<Long>()
|
||||
|
||||
fun box(): String {
|
||||
|
||||
-2
@@ -1,7 +1,5 @@
|
||||
// KT-6042 java.lang.UnsupportedOperationException with ArrayList
|
||||
|
||||
import java.util.ArrayList
|
||||
|
||||
class A : ArrayList<String>()
|
||||
|
||||
fun box(): String {
|
||||
|
||||
-2
@@ -1,5 +1,3 @@
|
||||
import java.util.HashMap
|
||||
|
||||
class A : HashMap<String, Double>()
|
||||
|
||||
fun box(): String {
|
||||
|
||||
-2
@@ -1,5 +1,3 @@
|
||||
import java.util.HashSet
|
||||
|
||||
class A : HashSet<Long>()
|
||||
|
||||
fun box(): String {
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS
|
||||
|
||||
import java.util.ArrayList
|
||||
|
||||
class MyCollection<T> : Collection<List<Iterator<T>>> {
|
||||
override fun iterator() = null!!
|
||||
override val size: Int get() = null!!
|
||||
|
||||
Reference in New Issue
Block a user