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