Drop all tests that disable features for language version less than 3
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
// !LANGUAGE: -NoDelegationToJavaDefaultInterfaceMembers
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// FIR status: don't support legacy feature
|
||||
// TARGET_BACKEND: JVM
|
||||
// JVM_TARGET: 1.8
|
||||
// FILE: Base.java
|
||||
|
||||
public interface Base {
|
||||
String getValue();
|
||||
|
||||
default String test() {
|
||||
return getValue();
|
||||
}
|
||||
}
|
||||
|
||||
// FILE: main.kt
|
||||
|
||||
class OK : Base {
|
||||
override fun getValue() = "OK"
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
val z = object : Base by OK() {
|
||||
override fun getValue() = "Fail"
|
||||
}
|
||||
return z.test()
|
||||
}
|
||||
Reference in New Issue
Block a user