Extract diagnostics about an unsupported case of inheritance from Java
^KT-59152
This commit is contained in:
committed by
Space Team
parent
de78f52bc9
commit
1df4893a43
@@ -9,8 +9,8 @@ public class A {
|
||||
|
||||
// FILE: main.kt
|
||||
|
||||
class <!UNSUPPORTED("Inheritance of a Java member referencing 'kotlin.jvm.functions.FunctionN': fun foo(w: FunctionN<*>!): Unit defined in A")!>B<!> : A()
|
||||
class <!UNSUPPORTED_INHERITANCE_FROM_JAVA_MEMBER_REFERENCING_KOTLIN_FUNCTION!>B<!> : A()
|
||||
|
||||
fun foo() {
|
||||
<!UNSUPPORTED("Inheritance of a Java member referencing 'kotlin.jvm.functions.FunctionN': fun foo(w: FunctionN<*>!): Unit defined in A")!>object<!> : A() {}
|
||||
<!UNSUPPORTED_INHERITANCE_FROM_JAVA_MEMBER_REFERENCING_KOTLIN_FUNCTION!>object<!> : A() {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user