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
@@ -2,8 +2,6 @@
package test.regressions.kt1149
import java.util.ArrayList
public interface SomeTrait {
fun foo()
}
-2
View File
@@ -1,7 +1,5 @@
// WITH_RUNTIME
import java.util.*
fun <T> ArrayList<T>.findAll(predicate: (T) -> Boolean): ArrayList<T> {
val result = ArrayList<T>()
for(t in this) {
-2
View File
@@ -2,8 +2,6 @@
//KT-1800 error/NonExistentClass generated on runtime
package i
import java.util.ArrayList
public class User(val firstName: String,
val lastName: String,
val age: Int) {
-2
View File
@@ -1,7 +1,5 @@
package foo
import java.util.*;
fun box() : String {
val a = ArrayList<Int>();
a.add(1)