Files
kotlin-fork/compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges/trait.kt
T
2015-05-12 19:43:17 +02:00

11 lines
229 B
Kotlin
Vendored

// !DIAGNOSTICS: -UNUSED_PARAMETER
interface 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)<!> {}
}