Don't generate bridges for equals(), hashCode(), toString()

Otherwise an assertion is failing in the algorithm which is related to an
inconsistency of java.lang.Object inheritance in JDR (KT-4890)
This commit is contained in:
Alexander Udalov
2014-04-21 16:37:08 +04:00
parent 6b348bfc6e
commit fbf9f5f7d0
4 changed files with 59 additions and 0 deletions
@@ -0,0 +1,11 @@
import java.util.HashSet
trait A : Set<String>
class B : A, HashSet<String>()
fun box(): String {
val b = B()
b.add("OK")
return b.iterator().next()
}