mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 08:31:28 +00:00
- 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
13 lines
345 B
Kotlin
Vendored
13 lines
345 B
Kotlin
Vendored
interface IA
|
|
|
|
interface IB : IA {
|
|
<!METHOD_OF_ANY_IMPLEMENTED_IN_INTERFACE!>override fun toString(): String = "IB"<!>
|
|
}
|
|
|
|
interface IC : IB {
|
|
<!METHOD_OF_ANY_IMPLEMENTED_IN_INTERFACE!>override fun toString(): String = "IC"<!>
|
|
}
|
|
|
|
interface ID : IC {
|
|
<!METHOD_OF_ANY_IMPLEMENTED_IN_INTERFACE!>override fun toString(): String = "ID"<!>
|
|
} |