Specify JVM target backend for test with java type inheritance

This commit is contained in:
Mikhael Bogdanov
2018-12-21 12:12:45 +01:00
parent 3c048d7f57
commit d76cb32781
14 changed files with 14 additions and 38 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
// IGNORE_BACKEND: JS_IR
// TODO: Enable when JS backend supports Java class library
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
public class SomeClass() : java.lang.Object() {
}
+1 -2
View File
@@ -1,6 +1,5 @@
// IGNORE_BACKEND: JS_IR
// TODO: Enable when JS backend supports Java class library
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
public open class Test(): java.util.RandomAccess, Cloneable, java.io.Serializable
{
public override fun clone(): Test = Test() // Override 'clone()' with more precise type 'Test'