Load special override as HIDDEN in case of signature clash

#KT-10151 Fixed
This commit is contained in:
Denis Zharkov
2015-12-09 14:09:38 +03:00
parent 45c0bc3610
commit 871fe7680b
40 changed files with 445 additions and 51 deletions
@@ -7,8 +7,8 @@ abstract public class A implements java.util.Collection<String> {
}
// FILE: main.kt
abstract class KA: A() {
override fun contains(x: String) = false
abstract class <!CONFLICTING_JVM_DECLARATIONS!>KA<!> : A() {
<!CONFLICTING_JVM_DECLARATIONS!>override fun contains(x: String)<!> = false
}
fun foo(a: A, ka: KA) {