7e9e427d4c
- 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
8 lines
236 B
Kotlin
Vendored
8 lines
236 B
Kotlin
Vendored
interface IWithToString {
|
|
override fun toString(): String
|
|
}
|
|
|
|
class A : IWithToString {
|
|
// Should be Any#toString(), even though IWithToString defines an abstract toString.
|
|
override fun toString(): String = super.toString()
|
|
} |