Deprecate @JvmDefault

This commit is contained in:
Mikhail Bogdanov
2020-03-27 15:56:55 +01:00
parent ff8eac29a0
commit c11f38688e
17 changed files with 58 additions and 57 deletions
@@ -15,7 +15,7 @@ public interface JavaInterface {
// FILE: 1.kt
interface KotlinInterface : JavaInterface {
@JvmDefault
@<!DEPRECATION!>JvmDefault<!>
fun fooo() {
super.test()
@@ -26,7 +26,7 @@ interface KotlinInterface : JavaInterface {
}
}
@JvmDefault
@<!DEPRECATION!>JvmDefault<!>
val propertyy: String
get() {
super.test()
@@ -39,14 +39,14 @@ interface KotlinInterface : JavaInterface {
return ""
}
@JvmDefault
@<!DEPRECATION!>JvmDefault<!>
override fun testOverride(): String {
return "OK";
}
}
interface KotlinInterfaceIndirectInheritance : KotlinInterface {
@JvmDefault
@<!DEPRECATION!>JvmDefault<!>
fun foooo() {
super.test()
@@ -57,7 +57,7 @@ interface KotlinInterfaceIndirectInheritance : KotlinInterface {
}
}
@JvmDefault
@<!DEPRECATION!>JvmDefault<!>
val propertyyy: String
get() {
super.test()