Report error on accidentally "overriding" wait/notify
Hard-code only Object members because diagnostics are reported for all other classes out of the box in 1.1 #KT-7174 Fixed
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
interface MyTrait: <!PLATFORM_CLASS_MAPPED_TO_KOTLIN, INTERFACE_WITH_SUPERCLASS!>Object<!> {
|
||||
override fun toString(): String
|
||||
public override fun finalize()
|
||||
public <!OVERRIDING_FINAL_MEMBER!>override<!> fun wait()
|
||||
}
|
||||
<!CONFLICTING_INHERITED_JVM_DECLARATIONS!>public <!OVERRIDING_FINAL_MEMBER!>override<!> fun wait()<!>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user