Diagnostic tests for duplicate JVM signatures

This commit is contained in:
Andrey Breslav
2014-05-25 18:14:34 +02:00
parent d25b2459d4
commit 27e61a75a1
47 changed files with 622 additions and 41 deletions
@@ -0,0 +1,7 @@
trait T {
fun getX() = 1
}
class C : T {
<!CONFLICTING_PLATFORM_DECLARATIONS!>val x = 1<!>
}
@@ -0,0 +1,11 @@
trait T1 {
fun getX() = 1
}
trait T2 {
val x: Int
get() = 1
}
<!CONFLICTING_PLATFORM_DECLARATIONS!>class C : T1, T2<!> {
}