mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
13 lines
218 B
Kotlin
13 lines
218 B
Kotlin
// !DIAGNOSTICS_NUMBER: 1
|
|
// !DIAGNOSTICS: DIFFERENT_NAMES_FOR_THE_SAME_PARAMETER_IN_SUPERTYPES
|
|
|
|
interface A {
|
|
fun foo(x: Int)
|
|
}
|
|
|
|
interface B {
|
|
fun foo(y: Int) {}
|
|
}
|
|
|
|
class differentNamesForSameParameter : A, B
|