mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 15:53:40 +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
11 lines
247 B
Kotlin
Vendored
11 lines
247 B
Kotlin
Vendored
interface ILeft {
|
|
override fun toString(): String
|
|
}
|
|
|
|
interface IRight {
|
|
override fun toString(): String
|
|
}
|
|
|
|
interface IDiamond : ILeft, IRight {
|
|
<!METHOD_OF_ANY_IMPLEMENTED_IN_INTERFACE!>override fun toString(): String = "IDiamond"<!>
|
|
} |