Java 8 rules for method overrides:
- report errors on implementing methods of Any in interfaces - update testData ~~~ Java 8 override restrictions: interface can't implement a method of 'Any' - update compiler sources
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
interface IA {
|
||||
<!VIRTUAL_MEMBER_HIDDEN!>fun toString(): String<!> = "IB"
|
||||
|
||||
override fun equals(other: Any?): Boolean
|
||||
}
|
||||
Reference in New Issue
Block a user