Restrict conditions for @JvmDefault super calls
Condition was too strict if @JvmDefault implicitly hidden by class in inheritance. Diagnostic is redundant cause there isn't breaking change depending on interface method generation strategy and delegating stub generation in inheriting class.
This commit is contained in:
+5
@@ -10,6 +10,11 @@ interface B{
|
||||
}
|
||||
}
|
||||
|
||||
<!MANY_INTERFACES_MEMBER_NOT_IMPLEMENTED!>interface <!JVM_DEFAULT_THROUGH_INHERITANCE!>AB<!><!>: A, B
|
||||
|
||||
<!MANY_INTERFACES_MEMBER_NOT_IMPLEMENTED!>interface <!JVM_DEFAULT_THROUGH_INHERITANCE!>BA<!><!>: B, A
|
||||
|
||||
|
||||
interface C : A, B {
|
||||
<!JVM_DEFAULT_IN_DECLARATION!>@JvmDefault
|
||||
override fun test()<!> {
|
||||
|
||||
Reference in New Issue
Block a user