Files
kotlin-fork/compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges/trait.kt
T
2014-06-19 22:11:56 +04:00

11 lines
225 B
Kotlin

// !DIAGNOSTICS: -UNUSED_PARAMETER
trait B<T> {
fun foo(t: T) {}
}
class <!CONFLICTING_JVM_DECLARATIONS!>C<!> : B<String> {
override fun foo(t: String) {}
<!CONFLICTING_JVM_DECLARATIONS!>fun foo(o: Any)<!> {}
}