55cfa161c7
When all signatures are inherited from traits, the origin elements lie outside of the class in question
13 lines
229 B
Kotlin
13 lines
229 B
Kotlin
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
|
|
|
trait Foo<T> {
|
|
fun foo(l: List<T>) {}
|
|
}
|
|
|
|
trait Bar<T> {
|
|
fun foo(l: List<T>) {}
|
|
}
|
|
|
|
class Baz(): Foo<String>, Bar<Int> {
|
|
<!CONFLICTING_JVM_DECLARATIONS!>fun foo(l: List<Long>)<!> {}
|
|
} |