Make several tests running on JS backend.

This commit is contained in:
Ilya Gorbunov
2016-11-17 01:58:43 +03:00
parent 0899a0fdda
commit 62fe89b536
16 changed files with 48 additions and 196 deletions
@@ -1,6 +1,4 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
import java.util.Arrays
// WITH_RUNTIME
interface A {
fun foo(): Collection<String>
@@ -11,7 +9,7 @@ interface B : A {
}
class C : B {
override fun foo(): MutableList<String> = ArrayList(Arrays.asList("C"))
override fun foo(): MutableList<String> = ArrayList(listOf("C"))
}
fun box(): String {