Diagnostic tests for duplicate JVM signatures
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
trait Foo<T> {
|
||||
fun foo(l: List<T>)
|
||||
}
|
||||
|
||||
trait Bar<T> {
|
||||
fun foo(l: List<T>)
|
||||
}
|
||||
|
||||
<!CONFLICTING_PLATFORM_DECLARATIONS!>class Baz(f: Foo<String>, b: Bar<Int>): Foo<String> by f, Bar<Int> by b {
|
||||
}<!>
|
||||
Reference in New Issue
Block a user