Switch DEFAULT_METHOD_CALL_FROM_JAVA6_TARGET according to LL
This commit is contained in:
@@ -7,20 +7,18 @@ public interface Test {
|
||||
}
|
||||
|
||||
// FILE: test.kt
|
||||
|
||||
// JVM_TARGET: 1.8
|
||||
interface KInterface : Test {
|
||||
|
||||
}
|
||||
|
||||
class KClass : Test {
|
||||
@kotlin.Suppress("DEFAULT_METHOD_CALL_FROM_JAVA6_TARGET")
|
||||
fun ktest(): String {
|
||||
return super.test() + test()
|
||||
}
|
||||
}
|
||||
|
||||
class KTClass : KInterface {
|
||||
@kotlin.Suppress("DEFAULT_METHOD_CALL_FROM_JAVA6_TARGET")
|
||||
fun ktest(): String {
|
||||
return super.test() + test()
|
||||
}
|
||||
@@ -29,7 +27,6 @@ class KTClass : KInterface {
|
||||
|
||||
fun box(): String {
|
||||
val p = object : KInterface {
|
||||
@kotlin.Suppress("DEFAULT_METHOD_CALL_FROM_JAVA6_TARGET")
|
||||
fun ktest(): String {
|
||||
return super.test() + test()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user