12 lines
230 B
Kotlin
12 lines
230 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(f: Foo<String>, b: Bar<Int>)<!>: Foo<String> by f, Bar<Int> by b {
|
|
} |